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 +4 -4
- data/VERSION +1 -1
- data/lib/dashboard.rb +2 -2
- data/lib/qwtf_discord_bot/qwtf_discord_bot_dashboard.rb +1 -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: 06567aa4454662e96cbae7770c8a597ede04411a67aef13d2b0c33d302764245
|
4
|
+
data.tar.gz: edde03293e5e55dd1286211865963dc5207d99d66d229cfe8fb1c3ff1d50a6fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e91adf93822c32750f90121bc73daa98bebd9557429efb06a38d743408c703d4d6666573e41c08469c13fe8bceaf6ec5f6b7540bb3a429b5bfa41ccfa64ca2d6
|
7
|
+
data.tar.gz: 40feb730c272acbd1957bb0a340d6869740c2e41fed8b24d1f541050b59f9af778fdbf127ef5a43ddc789541e7053133d158db75c054860d7fe5360714ba8917
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.5.
|
1
|
+
5.5.8
|
data/lib/dashboard.rb
CHANGED
@@ -5,12 +5,12 @@ class Dashboard
|
|
5
5
|
@messages = {}
|
6
6
|
|
7
7
|
old_dashboard_channel = @server.channels.find do |chan|
|
8
|
-
chan.name == "
|
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("
|
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
|