qwtf_discord_bot 5.5.9 → 5.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -0
  3. data/VERSION +1 -1
  4. data/lib/dashboard.rb +3 -3
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f422f497d757dbe1261a8dc201cf5888b289e00ca035e52fadc118a2d3712e2b
4
- data.tar.gz: 2f13079b2d29f3e14cbfb6a0b77d366a056b25b4cafe39024d9ba257cc7f9f45
3
+ metadata.gz: ebe547dbec4ffa7cf1974c4c7286249329dec4a0947569281c811cef8bf170c8
4
+ data.tar.gz: fcefedfbb7f73aff24ed6765dbd4e0da18cfb296ac1978d97ddbf054db4c5b47
5
5
  SHA512:
6
- metadata.gz: 34215aa47c79a975411282e1c8bfdbc238696a52700994e3a7d0432169899df1d9c68419d16f20a3c2f302707fe9e55b8e5276433671d4200b2b45dac196dd09
7
- data.tar.gz: 66dd099b4cf81b35d273dc49a40efacc9249163f9a4e715e43c5c2a708c40203af0d84a6d4c4aec648085f2fe3274417a2c82edf2ce79d450b1a8c57349c5525
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.9
1
+ 5.5.10
@@ -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.category = category
22
- channel.topic = topic
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|
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.9
4
+ version: 5.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sheldon Johnson