Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Latest commit

 

History

History
51 lines (29 loc) · 806 Bytes

README.md

File metadata and controls

51 lines (29 loc) · 806 Bytes

Ruboty::Authorization

Ruboty plugin to authorize user.

Installation

Add this line to your application's Gemfile:

gem 'ruboty-authorization'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruboty-authorization

Usage

2016-07-13 1 08 16_censored

command

authorize user

@bot_name authorize user_name

return authorized users

@bot_name users

Env

OWNER_NAME - user name who has authority to authorize
NOT_REPLY_AUTHORIZATION_ERROR - If set to '1', not reply authorization error message

License

The gem is available as open source under the terms of the MIT License.