/gds-tbot-rails

Telegram bot for IDA GDS, with rails!

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

GDS telegram bot rails

Simple Telegram bot for IDA GDS! Still work in progress!

Using the telegram-bot-ruby wrapper for Telegram API.

Installation

Execute:

$ bundle

Running the bot

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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Usage

/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)