qwtf_discord_bot 2.0.1 → 2.1.0

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: 26b095361b50dff749969c87c1123d8e01447a6f43ddd6b84c60d4d6320e615b
4
- data.tar.gz: d75e40d7c8fa2cec8cf2f60e6f47493da390ee5aed29832b4b884d0f10bce12d
3
+ metadata.gz: 48c7975027b4b4d931014c4bb67896d12b28867f756d27397b71d5a92d94999a
4
+ data.tar.gz: 617814d7011e13865b546880d8a43302dc569c3b2c8d3e690ca2f4945346cbc6
5
5
  SHA512:
6
- metadata.gz: 86bfa64687fd08fa0614b15db2a3a683dac744495546d2894a5e0c928e788485381ca973d181182f35f711a6b923e8d31e4d465f238a82bc8dc5f92e05c1c686
7
- data.tar.gz: 5b67eee125b77a52c22496630ae12deb8817c6b10a272fd82a206721986ce0ebc7141e317e87bde3cfe9210b5bc3a48a9eed0afa6da9dc59727239d2c4de03a2
6
+ metadata.gz: ae8479aef89a7d5493ed0a49646bd07acba12133b3e9afe9ee47af77523cbbb04f4de5b6a2d3be6746377663653d68566fcb1871a7a06cb3e9547a63fedd0d79
7
+ data.tar.gz: faffa2464e9394fb773d20806757c163f28d7a432c9ed6e8b7fb7714ec1a105b87be96d2eba1ef5ba10b908f95bbcc9b2303021958db0f09020afef3203be1ff
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qwtf_discord_bot (1.0.8)
4
+ qwtf_discord_bot (2.0.1)
5
5
  discordrb (~> 3.3)
6
6
  thor (~> 0.20)
7
7
 
@@ -26,6 +26,8 @@ class QwtfDiscordBotServer < QwtfDiscordBot
26
26
  end
27
27
 
28
28
  bot.command :servers do |event|
29
+ return unless event.channel.id.to_s == CHANNEL_ID
30
+
29
31
  qstat_requests = @endpoints.map do |endpoint|
30
32
  QstatRequest.new(endpoint)
31
33
  end
@@ -1,3 +1,3 @@
1
1
  class QwtfDiscordBot
2
- VERSION = '2.0.1'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qwtf_discord_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sheldon Johnson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-18 00:00:00.000000000 Z
11
+ date: 2019-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: discordrb