Skip to content

This is a Telegram-bot built with ruby and the Telegram API.

Notifications You must be signed in to change notification settings

mahmoud717/ruby-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Randomizer Telegram Bot

This is a Telegram bot that gives you random operations to execute such as: do a dice roll, a random quote, a random joke...etc

Built With

  • Ruby
  • Telegram API
  • Ruby Gems
  • Telegram-ruby-bot Gem

Video Explanation

Here is the video explanation of this project.

Prerequisites

To get this project up and running locally, just clone the repo to your local directory and follow the installation procces.

Installation

step 1

After navigating to the folder run "gem install bundle" in the terminal then run "bundle" to install all of the needed gems for the bot to work.

step 2

To start the bot run "cd bin" then run "ruby bot"

Then head over to telegram, search for "@randomeratorBot" then start the bot.

Once you start the the bot, it will give u a set of commands to execute.

Make sure that the bot is still running in the termenal.

testing

To test the code, first, you have to follow step 1 in the installation guide.

after that just run "rspec spec/bot_testing_spec.rb" in the terminal

Authors

👤 Mahmoud Mohammad

🤝 Contributing

Show your support

If you've read this far, you must like the project! Give me a ⭐️!

Acknowledgments

  • Our thanks to Microverse and all our peers and colleagues there.

📝 License

This project has no license

About

This is a Telegram-bot built with ruby and the Telegram API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages