commandorobo 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/commandorobo.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ac99deb0f38ebce889bec9f8e12c87307edee105e8d4094e747f6816e66633d
|
|
4
|
+
data.tar.gz: d93ac7ced6fb6a896317ee03572d6c3b4e75e6014b172734c170f5b8f8096ab1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 = []
|