Skip to content

This is Telegram_bot on telegram-messenger with the name of @FloresFF_bot. It's a translator bot in order to translate English to French built with Ruby.

Notifications You must be signed in to change notification settings

rahalrazika/telegramebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-bot

Ruby wrapper for Telegram's Bot API.

Gem Version

Build Status Status Github Issues GitHub2 Pull Requests

This is Telegram_bot on telegrame-messenger with the name of @FloresFF_bot it's a translator bot in order to translate from English to French built with Ruby .And this is my capstone Ruby project

screenshot

Built with

-Ruby

The repository link in repl.it

Live Repo Link

How to Find the bot

• Click on the Link link

• In telegram, search for @FloresFF_bot

Installation

Install Ruby

We are going to use ruby program to write the code, it is necessary to install this program in your machine. In order to do so, Please read this ruby installation documentation and follow the instructions.

Install Telegrame

Choose you API

Getting Started

1- In your terminal run git clone https://github.com/rahalrazika/telegramebot.git

2- cd telegramebot

3- create a .env file

4- Copy the code in env_file.txt

5- If you want a new token go to your telegram account and search for @BotFather. Press start and send the command /newbot. You will get a reply with all your bots information including your TOKEN in it. In our case, you don't need to create a new token you can simply search for @FloresFF_bot in telegram app

screenshot

6- Run bundle -> To install all gems

Start the bot

Run bin/main.rb

Test with Rspec

  • Run gem install rspec -> to install rspec
  • Run rspec

How to use the bot

  • Run bin/main.rb

screenshot

  • Open bot discussion on telegram app

screenshot

Author

👤 Razika

Contributing

  • To contribute to this project:
  • Fork this repository & clone locally.
  • Create an upstream remote and sync your local copy.
  • create a new branch.
  • Push your code to your origin repository.
  • Create a new Pull Request .

Show your support

Give a ⭐️ if you like this project! ​

Acknowledgments

About

This is Telegram_bot on telegram-messenger with the name of @FloresFF_bot. It's a translator bot in order to translate English to French built with Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages