qwtf_discord_bot 5.5.7 → 5.5.8

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: 0a8c6eefd8588a9acd888fb745e2237883b750360db00b7bf5bc729eb9b548dd
4
- data.tar.gz: 18e9d938af51b6131335adf47a94a2f1fa2ed59cba783f958351388163c970a7
3
+ metadata.gz: 06567aa4454662e96cbae7770c8a597ede04411a67aef13d2b0c33d302764245
4
+ data.tar.gz: edde03293e5e55dd1286211865963dc5207d99d66d229cfe8fb1c3ff1d50a6fa
5
5
  SHA512:
6
- metadata.gz: 4c530cc4676e80e3d75806e542192f3711f5eebd59255a59207243bf6e3a5903b83359f4139ebb99d26b46cbbc53a822fdd92108b45020e307d420a0b1532be0
7
- data.tar.gz: 9dd8e00b8ab94b3215e73688908ec75bdac1aca71e71b5380e65b46a3833b317b8f632964f2f013de851a52af9f5bf3c5955bd606b539c702f0c72d96fa61854
6
+ metadata.gz: e91adf93822c32750f90121bc73daa98bebd9557429efb06a38d743408c703d4d6666573e41c08469c13fe8bceaf6ec5f6b7540bb3a429b5bfa41ccfa64ca2d6
7
+ data.tar.gz: 40feb730c272acbd1957bb0a340d6869740c2e41fed8b24d1f541050b59f9af778fdbf127ef5a43ddc789541e7053133d158db75c054860d7fe5360714ba8917
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.5.7
1
+ 5.5.8
@@ -5,12 +5,12 @@ class Dashboard
5
5
  @messages = {}
6
6
 
7
7
  old_dashboard_channel = @server.channels.find do |chan|
8
- chan.name == "dashboard" && chan.topic = "QWTF Bot Dashboard"
8
+ chan.name == dashboard_config["name"] && chan.topic = "QWTF Bot Dashboard"
9
9
  end
10
10
 
11
11
  old_dashboard_channel && old_dashboard_channel.delete
12
12
 
13
- @channel = @server.create_channel("dashboard")
13
+ @channel = @server.create_channel(dashboard_config["name"])
14
14
  @channel.topic = "QWTF Bot Dashboard"
15
15
  @channel.position = dashboard_config["position"]
16
16
  end
@@ -17,7 +17,7 @@ class QwtfDiscordBotDashboard
17
17
  end
18
18
  )
19
19
 
20
- bot.run(true) && sleep(5)
20
+ bot.run(true)
21
21
 
22
22
  @dashboards ||= QwtfDiscordBot.config.dashboards.map do |dashboard_config|
23
23
  Dashboard.new(dashboard_config, bot)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qwtf_discord_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.7
4
+ version: 5.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sheldon Johnson