Simple Telegram bot for IDA GDS! Still work in progress!
Using the telegram-bot-ruby wrapper for Telegram API.
Execute:
$ bundle
First things first, you need to obtain a token for your bot. Then add your API token as an environment variable 'API_TOKEN'
Execute:
$ rake db:create db:migrate
$ rails s
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
/qotd
: Return a random quote
/qotd_add <author name> the actual quote
: Add your own quote to the list! (example: /qotd_add <Shia Labeouf> Don't let your dreams be dreams
)