On this project I built a telegram bot that mimics the process to order pizzas use /start to start
- Install git
- Open your local terminal for your specific OS.
- Change the directory using the cd terminal command to a folder.
- Run git clone (link of this repository).
- Install Ruby, google is going to have information about how to install it on your OS.
- cd path/to/telegram-bot
- If you wanna use your own token replace it on the env file or create a new one there, you can get one at the BotFather bot
- Run on the terminal: bundle install, to install all the dependencies
- Run on the terminal: ruby bin/main.rb
- Use the link given by the botfather
- Search for the name you gave your bot on telegram, for the token on the env file it is @pizzamvcapstone_bot, alternatively use this link
- Talk to the telegram bot
- Run the Setup up to "cd path/to/telegram-bot", skipping steps you already completed
- Run on the terminal: rspec spec/bot_spec.rb
If you see this:
It means that everything is working as intended.
- Ruby
- Telegram Bot Ruby gem
- Telegram Bot API
👤 Leonardo L. da Paz
- GitHub: @leolpaz
- Twitter: @leonardolpaz95
- LinkedIn: Leonardo Paz
- Microverse
- The staff behind Telegram Bot API
- My standup team
This project is MIT licensed.