Skip to content
/ yes-bot Public

This project is a telegram bot, a questionnaire that engages users in a series of quiz of very random questions.

License

Notifications You must be signed in to change notification settings

cyonii/yes-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge

About YesBot

This project is a telegram bot that interacts with users. The bot YesBot acts as a friendly questionnaire that engages users in series of quiz of very random questions.

My idea of this bot was to create a simple friendly and educative companion that helps users overcome boredom by sharing random knowledge.

Built With

Getting Started

To get started you must have a Telegram account and a Telegram API token. To get an API token and also create a bot, log into your Telegram app, search for BotFather, initiate a chat with BotFather by clickng "start" or typing /start, then follow subsequent instructions. Learn more here

  • cd into your desired directory where you would like the project to live and run git clone [email protected]:cyonii/yes-bot.git
  • run cd yes-bot to get into the project's directory you just cloned
  • add your Telegram API to your environment variables named as TELEGRAM_TOKEN or hard code it into the token variable in bin/main.rb file as a string
  • run bundle install to install the project's dependencies.
  • run bin/main.rb to initiate bot to start listening.
  • head over to your Telegram app, search for the bot you created by it's username or display name, enter /start to initiate interaction, follow subsequent instructions

Tests

This project has been tested using rspec. To run test, cd into the project's directory and run rspec on your terminal.

Available Commands

  • /start - to start interaction with the bot
  • /quiz - to get a random quiz

Author

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • telegram-bot-ruby
  • Open Trivia
  • Microverse

📝 License

This project is MIT licensed.

About

This project is a telegram bot, a questionnaire that engages users in a series of quiz of very random questions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages