Skip to content

ptkdev/quizquickanswer-telegram-game-bot

Repository files navigation

๐Ÿค– quizquickanswer-telegram-game-bot

v0.7.9-nightly.99 License: MIT Language: TypeScript Framework: Grammy ECMAScript: 2019 Discord Server

Funny quiz game, play with friends on your telegram group!

๐ŸŽ Support: Donate

This project is free, open source and I try to provide excellent free support. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. THANK YOU!

Donate Paypal Donate Ko-Fi Donate Github Sponsors Donate Patreon Donate Bitcoin Donate Ethereum

๐Ÿ“Ž Menu

๐Ÿ’ก Features

  • [โœ”๏ธ] Easy to use
  • [โœ”๏ธ] MIT License
  • [โœ”๏ธ] Powered by Grammy Telegram API Framework
  • [โœ”๏ธ] Quiz game, play with friends on your telegram group

๐Ÿ‘” Screenshot

quizquickanswer-telegram-game-bot

๐Ÿš€ Installation

  1. Add @QuizQuickAnswerBot to your Telegram group
  2. Make @QuizQuickAnswerBot admin of your group
  3. Run /start or /start@QuizQuickAnswerBot
  4. Make yourself master of game, run /master @nickname
  5. Follow instructions and Play with friends!

๐ŸŽฎ How to play

  1. Set a master with /master @nickname
  2. Master send private message to @QuizQuickAnswerBot
  3. Master write question with syntax: QUESTION ## TIP, example: gameboy ## '90s' portable console
  4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!

โฑ Official Group

If you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:

๐Ÿ”จ Developer Mode

๐Ÿ Run Project

  1. Clone this repository or download nightly, beta or stable.
  2. Write to @botfather on telegram and create new bot (save token and set bot username)
  3. Set bot token: export BOT_TOKEN=1234:asdfghjkl
  4. Set mongodb connection url: export MONGODB=mongodb://localhost:27017/quizquickanswerdb
  5. Run npm install
  6. Run npm run dev
  7. Write /start on telegram bot.

๐Ÿš€ Deploy

Deploy bot to your server and:

  1. Set bot token: export BOT_TOKEN=1234:asdfghjkl
  2. Set mongodb connection url: export MONGODB=mongodb://localhost:27017/quizquickanswerdb
  3. Run init npm install
  4. Generate release npm run release
  5. Start bot npm run start-pm2

๐Ÿ“š Documentation

Run npm run docs

๐Ÿ‘‘ Backers and Sponsors

Thanks to all our backers! ๐Ÿ™ Donate 3$ or more on paypal, ko-fi, github or patreon and send me email with your avatar and url.

๐Ÿ‘จโ€๐Ÿ’ป Contributing

I โค๏ธ 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.

Thanks goes to these wonderful people (emoji key):

Patryk Rzucidล‚o
Patryk Rzucidล‚o

๐Ÿ’ป ๐ŸŒ ๐Ÿ“– ๐Ÿ›
Alรฌ Shadman
Alรฌ Shadman
๐Ÿ’ป ๐ŸŒ ๐Ÿ“– ๐Ÿ›
Denise Scazzari
Denise Scazzari

๐ŸŒ
Alessandro Di Maria
Alessandro Di Maria

๐Ÿ’ป ๐Ÿ› ๐ŸŒ

๐Ÿ’ฐ In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!

๐Ÿฆ„ Other Projects

๐Ÿ’ซ License

  • Code and Contributions have MIT License
  • Images and logos have CC BY-NC 4.0 License
  • Documentations and Translations have CC BY 4.0 License