telegram_bot
I am introducing this telegram bot which can introduce himself when you say hi to him. This bot can send you inspirational quotes and funny jokes to you when you press certain commands and also instruct you if you press any wrong key.
🚀
Getting Started
These instructions will get you a copy of the project up and running on your local machine.
🔧
How To Use
From your command line, first clone the project:
# Clone this repository
$ git clone https://github.com/Dipeshtwis/telegram_bot.git
# Install the required gem file
$ gem install telegram-bot-ruby
$ bundle install
# Go into the folder telegram_bot
$ cd telegram_bot
# In command prompt, run the following command
$ ruby bin/main.rb
# Go to telegram app Desktop/Mobile
# Search for
@Deepeshbot
Start the chat by saying 'Hi', 'hi', 'Hello', 'hello' or '✋'
and enjoy by writing any commands
🔧
How To Run the test
From your command line, first clone the project:
# Install the Rspec
$ gem install rspec
# Initialize the Rspec
$ rspec --init
# In command prompt, run the following command to test
$ rspec
Tools and technology used
- Ruby 2.7.x
- Telegram (BotFather) BOT API
- Type-fit Quotes API
- Rapid Joke API
CONTRIBUTOR
Github link:
For the: Github-link
Show your support
Give a