qwtf_discord_bot 5.5.9 → 5.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/VERSION +1 -1
- data/lib/dashboard.rb +3 -3
- 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: ebe547dbec4ffa7cf1974c4c7286249329dec4a0947569281c811cef8bf170c8
|
4
|
+
data.tar.gz: fcefedfbb7f73aff24ed6765dbd4e0da18cfb296ac1978d97ddbf054db4c5b47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c805e76c390c327d8b6ed53c6a757fa2d844561fe8a65d074874420800e9dedddaac1a70aafcc00f84d8cbda4587913d34342554bd70bd8de3c3a8dd6d5adf6b
|
7
|
+
data.tar.gz: 66165f24f18f1e910a35420767a0f86db1d5fcf9d404091e93775490287daff90999e2fcc6efd5e06c8ca3197591d0b0f90964a127bcd60c66765b7820552b73
|
data/README.md
CHANGED
@@ -56,6 +56,13 @@ A Discord bot for checking the status of QuakeWorld Team Fortress servers
|
|
56
56
|
hwguy: "<:hwguy_blue:456062063190736926>"
|
57
57
|
spy: "<:spy_blue:456062062032846849>"
|
58
58
|
engineer: "<:engineer_blue:456062031125020683>"
|
59
|
+
dashboards:
|
60
|
+
- server_id: 744911007859736616
|
61
|
+
name: "active-servers"
|
62
|
+
endpoints:
|
63
|
+
- "sydney.fortressone.org"
|
64
|
+
- "sydney.fortressone.org:27510"
|
65
|
+
- "dallas.fortressone.org"
|
59
66
|
```
|
60
67
|
|
61
68
|
- Use the `QWTF_DISCORD_BOT_CONFIG_FILE` environment variable to specify an
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.5.
|
1
|
+
5.5.10
|
data/lib/dashboard.rb
CHANGED
@@ -12,14 +12,14 @@ class Dashboard
|
|
12
12
|
|
13
13
|
@channel = if old_dashboard_channel
|
14
14
|
position = old_dashboard_channel.position
|
15
|
-
category = old_dashboard_channel.category
|
16
15
|
topic = old_dashboard_channel.topic
|
16
|
+
category = old_dashboard_channel.category
|
17
17
|
old_dashboard_channel.delete
|
18
18
|
|
19
19
|
@server.create_channel(channel_name).tap do |channel|
|
20
20
|
channel.position = position
|
21
|
-
channel.
|
22
|
-
channel.
|
21
|
+
channel.topic = topic if topic
|
22
|
+
channel.category = category if category
|
23
23
|
end
|
24
24
|
else
|
25
25
|
@server.create_channel(channel_name).tap do |channel|
|