Sha256: 3b763af5454ab70e03047973500bcedf904e50e1f6f873516d2db7516c116502

Contents?: true

Size: 1 KB

Versions: 18

Compression:

Stored size: 1 KB

Contents

# Ruboty::SlackRTM

Slack(real time api) adapter for [ruboty](https://github.com/r7kamura/ruboty).

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ruboty-slack_rtm'
```

## ENV

- `SLACK_TOKEN`: Account's token. get one on https://api.slack.com/web#basics
- `SLACK_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)

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

## Contributing

1. Fork it ( https://github.com/rosylilly/ruboty-slack_rtm/fork )
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 a new Pull Request

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ruboty-slack_rtm-2.7.2 README.md
ruboty-slack_rtm-2.7.1 README.md
ruboty-slack_rtm-2.7.0 README.md
ruboty-slack_rtm-2.6.0 README.md
ruboty-slack_rtm-2.5.1 README.md
ruboty-slack_rtm-2.5.0 README.md
ruboty-slack_rtm-2.4.4 README.md
ruboty-slack_rtm-2.4.3 README.md
ruboty-slack_rtm-2.4.2 README.md
ruboty-slack_rtm-2.4.1 README.md
ruboty-slack_rtm-2.4.0 README.md
ruboty-slack_rtm-2.3.0 README.md
ruboty-slack_rtm-2.2.0 README.md
ruboty-slack_rtm-2.1.0 README.md
ruboty-slack_rtm-2.0.0 README.md
ruboty-slack_rtm-1.6.0 README.md
ruboty-slack_rtm-1.5.1 README.md
ruboty-slack_rtm-1.5.0 README.md