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
- Ruby
- Telegram API
- Ruby Gems
- Telegram-ruby-bot Gem
Here is the video explanation of this project.
To get this project up and running locally, just clone the repo to your local directory and follow the installation procces.
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.
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.
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
๐ค Mahmoud Mohammad
- Github: @githubhandle
- Twitter: @twitterhandle
If you've read this far, you must like the project! Give me a โญ๏ธ!
- Our thanks to Microverse and all our peers and colleagues there.
This project has no license