kybus-bot 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d6ea56c2bd47e58087f433d504c984c2055958b8b5cbd6fde2b438ffbcc77f9
4
- data.tar.gz: e256785b5022eb71f9f8943ab8e54dae9696b6ffe97431f443b23630c9dfad81
3
+ metadata.gz: 770ceb23f2b040686b9337adb8a5687c2b28dba0c076eb46fdb821ba15bcb938
4
+ data.tar.gz: 2e0a3b827a4390f00d03b6717994b9df5b2bbc284a76cf154e4bc189d8279f9e
5
5
  SHA512:
6
- metadata.gz: 1ef852ff7b0d785be08dac681cb10185ddde7b4362e343d7e188e93a3e2bf143ba48f126c301f1cfff8b7e6069f172de1b92057ad9be258fcb86a5b0880908e0
7
- data.tar.gz: 7dc0c97b640a932295c9d5b13454a865d9eb6384a95ba613de292b4f5c0d28ef1953617f1d3af7a4ccd4839d48a97ca27aa31b48c2c37e53c7854e4d87a19994
6
+ metadata.gz: '08c94625e9e4b288bc3f07bd827fffba932af381af77b8a142825dd254229c6a66f0c31c00444b7056f782cff2e123263bb636708a099e8102754ad9fe431933'
7
+ data.tar.gz: d1a311b425287b4de3e6ead3409b4bb1183dccc6614bb66758168f120144e91dc5bf523378862e098b924fa7bc0cffd344a32477fa0f0abe546835d83cf07b31
@@ -149,6 +149,10 @@ module Kybus
149
149
  provider.mention(name)
150
150
  end
151
151
 
152
+ def registered_commands
153
+ @commands.registered_commands
154
+ end
155
+
152
156
  # Loads command from state
153
157
  def current_command_object
154
158
  command = @state[:cmd]
@@ -36,6 +36,10 @@ module Kybus
36
36
  @commands[name] = Command.new(params, block)
37
37
  end
38
38
 
39
+ def registered_commands
40
+ @commands.keys
41
+ end
42
+
39
43
  # Returns a command with the name
40
44
  def [](name)
41
45
  @commands[name]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kybus
4
4
  module Bot
5
- VERSION = '0.4.3'
5
+ VERSION = '0.4.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kybus-bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gilberto Vargas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-23 00:00:00.000000000 Z
11
+ date: 2021-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kybus-core