TelegramBot
Bot Description
- Deutsch Assistant Bot, helps the user learn new German phrases, receives daily German quotes, and also allows users to translate from English to German using Google API.
Technologies Used
- Ruby
- Google Translate API
- Telegram Bot API
How to Use.
- Use
/start
to start the bot. - Use
/stop
to stop the bot. - Use
/translate
to translate words. - Use
/learn
to learn new phrases.
Bot Preview
Testing
- open terminal
- cd to project using
cd TelegramBot
- type
rsepc
in your terminal
Install Instruction
- first thing first ,you should join the the bot on telegram using this link
t.me/Deutschassistant_bot
- Open your terminal in the location you want to install the project in.
- Clone the Repo on you computer using
git clone https://github.com/Abdona/TelegramBot.git
- Make sure you have Ruby installed; use
Ruby -v
to check for Ruby Version. - Use
bundle install
to install all dependencies from Gemfile. - Cd to the project directory
cd TelegramBot/bin
. - Run
ruby main.rb
.
- nb. if you do not have ruby already installed kindly check this link for instruction how to install it on your OS
https://www.ruby-lang.org/en/documentation/installation/
- nb. if you do not have Telegram ruby API added to Gemfile, please use
gem install telegram-bot-ruby
Author
👤 Abdulrahman Naser
- GitHub: @githubhandle
- LinkedIn: LinkedIn
🤝 Contributing
- Contributions, issues, and feature requests are welcome!
Show your support
- Give a
⭐️ if you like this project!