Slack(real time api) adapter for ruboty.
Add this line to your application's Gemfile:
gem 'ruboty-slack_rtm'
SLACK_TOKEN
: Account's token. get one on https://api.slack.com/web#basicsSLACK_EXPOSE_CHANNEL_NAME
: if this set to 1,message.to
will be channel name instead of id (optional)SLACK_IGNORE_GENERAL
: if this set to 1, bot ignores all messages on #general channel (optional)SLACK_GENERAL_NAME
: Set general channel name if your Slack changes general name (optional)SLACK_AUTO_RECONNECT
: Enable auto reconnect if rtm disconnected by Slack (optional)
This adapter doesn't require a real user account. Using with bot integration's API token is recommended. See: https://api.slack.com/bot-users
- Fork it ( https://github.com/rosylilly/ruboty-slack_rtm/fork )
- 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 a new Pull Request