A TelegramBot with ruby running on Debian Linux
On Debian:
apt-get install rubygemsthen clone this repository. You could use screen or tmux to run this bot on your Linux-System.
So now you have to install bundle:
gem install bundleafter this go in the cloned directory and type:
bundle installNow open telegram.rb with an editor and insert your Bot-Token. On line 66 replace !!your_token!! with your token. To run the bot type:
bundle exec ruby telegram.rbHave fun!
(Optional)
Install imagemagick and fortune with
apt-get install imagemagick fortuneIf there are any problems, be free and write me!