speee / ruboty-authorization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:Ruby 97.5%Language:Shell 2.5%