commandorobo 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/commandorobo.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c27daac909e3282e3e0afaddba356195f63a5caee2278bb0e5fcb2d45078b5fa
4
- data.tar.gz: 969c5f78d351e2eac02c4adf32918bccd2f04b8ce48d1e5e5162212ee47532f2
3
+ metadata.gz: 3ac99deb0f38ebce889bec9f8e12c87307edee105e8d4094e747f6816e66633d
4
+ data.tar.gz: d93ac7ced6fb6a896317ee03572d6c3b4e75e6014b172734c170f5b8f8096ab1
5
5
  SHA512:
6
- metadata.gz: 18ef66d68cdf00c9c20c559ca7b0d3ab85b2da5bc52cadb414752e76982c73157f00b7d288dba6bd25888d0c5a78eaa36da0ac0e14cb1b069849e46bf10facb8
7
- data.tar.gz: f619413c4e914164ebab4725345e4724ffe8ab46e7ba905232cbf6590196c4010f56f4a7e02afa548641363bbc6ba2e5a0690d7b7b0d7a19d9223879b54ace1f
6
+ metadata.gz: 8f2e4168ebef2349d1b83bf3fe8865e96d9264483e3dc0306127ee004797b95bf63803d0262a1c8a584bfc3d454104bc065388ae9a4408511b800499f014b8a8
7
+ data.tar.gz: a5b006bc0b089a01216846a6d4a9c28472695ba4c0476d35305c9df6f9c5652e1b2736b2c4a3ad2c227d9bd616125477d354354bef232bed5df5c02ab843dc66
data/lib/commandorobo.rb CHANGED
@@ -164,9 +164,10 @@ module Commandorobo
164
164
  # @attr_reader [Hash] config The configuration for the bot.
165
165
  # @attr_reader [Array] commands The commands, in an array. This isn't a hash because I have a method for looking them up.
166
166
  # @attr_reader [Array] listeners Bound event listeners.
167
+ # @attr_reader [Array] owners List of user IDs to consider as bot owners.
167
168
  class Bot < Discordrb::Bot
168
169
  attr_accessor :invokers
169
- attr_reader :config, :commands, :listeners
170
+ attr_reader :config, :commands, :listeners, :owners
170
171
  def initialize(config, token, **kwargs)
171
172
  @config = config
172
173
  @commands = []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commandorobo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ry00001