qwtf_discord_bot 5.4.2 → 5.4.3
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/qwtf_discord_bot/qwtf_discord_bot_pug.rb +2 -12
- 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: bb40c561739b201a25554221a3b07ff74da6ef621121a8032cf7ff0638e8040d
|
|
4
|
+
data.tar.gz: 3215cfed66032d0e0f96689b885d427f9529b55cf07934dc9c8606ba76d467b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cc6e47321572b0459ef66a518631df912ac96726b4a62c7f508c174236a756c65b8c6898757a61b0c5854b145907e6d9b9e525db8df972ddd520b492512bed2
|
|
7
|
+
data.tar.gz: f8a5aff8a87cb70a32438199e5b85aa0388f5ef3918ed7f5b578d3241f199e354e799eac6cadb7a81075a799f9a42ac724152d3e783fc98a5dee0924c32b3866
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.4.
|
|
1
|
+
5.4.3
|
|
@@ -243,17 +243,7 @@ class QwtfDiscordBotPug # :nodoc:
|
|
|
243
243
|
}.to_json
|
|
244
244
|
)
|
|
245
245
|
|
|
246
|
-
#
|
|
247
|
-
# e.display_name_for(player_id)
|
|
248
|
-
# end
|
|
249
|
-
|
|
250
|
-
# non_winning_teams = pug.actual_teams.tap { |team| team.delete(winning_team_no) }
|
|
251
|
-
|
|
252
|
-
# losing_players = non_winning_teams.values.flatten.map do |player_id|
|
|
253
|
-
# e.display_name_for(player_id)
|
|
254
|
-
# end
|
|
255
|
-
|
|
256
|
-
send_embedded_message("Team #{winning_team_no} wins", e.channel)
|
|
246
|
+
send_embedded_message("Team #{winning_team_no} wins. [Ratings](http://ratings.fortressone.org)", e.channel)
|
|
257
247
|
end
|
|
258
248
|
end
|
|
259
249
|
|
|
@@ -288,7 +278,7 @@ class QwtfDiscordBotPug # :nodoc:
|
|
|
288
278
|
}.to_json
|
|
289
279
|
)
|
|
290
280
|
|
|
291
|
-
send_embedded_message("Match drawn", e.channel)
|
|
281
|
+
send_embedded_message("Match drawn. [Ratings](http://ratings.fortressone.org)", e.channel)
|
|
292
282
|
end
|
|
293
283
|
end
|
|
294
284
|
|