qwtf_discord_bot 5.4.8 → 5.4.9
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 +5 -4
- 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: 3978acdc270b907c20e237c57690192b753aa96be251edcda59f80f60fa188a5
|
|
4
|
+
data.tar.gz: fbda19b74c0f215cbd2789743db1e303352dae5488fe4633e683c7982b7295f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b343f7bbcf1435df653f9cc6a810db2a09472d2238134a8acc39446c1e54a828a5c6d1e5fbef318271bd0019d70304febe39aab107ceefe8ceada2ae7318a99
|
|
7
|
+
data.tar.gz: e627fca364cd5f51fa3514c4c8c66d9bf80486f6114778bf82086165706503d808d89fc2b717ea4e2bcfc70d8fe7de5376432f68436a836d49e92b833611add4
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.4.
|
|
1
|
+
5.4.9
|
|
@@ -65,8 +65,9 @@ class QwtfDiscordBotPug # :nodoc:
|
|
|
65
65
|
0
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
-
choose_fair_teams(pug: pug, event: e, iteration: iteration)
|
|
69
|
-
|
|
68
|
+
if choose_fair_teams(pug: pug, event: e, iteration: iteration)
|
|
69
|
+
status(pug: pug, event: e)
|
|
70
|
+
end
|
|
70
71
|
end
|
|
71
72
|
end
|
|
72
73
|
|
|
@@ -606,7 +607,7 @@ class QwtfDiscordBotPug # :nodoc:
|
|
|
606
607
|
return send_embedded_message(
|
|
607
608
|
description: "Can't choose teams until PUG is full",
|
|
608
609
|
channel: event.channel
|
|
609
|
-
)
|
|
610
|
+
) && nil
|
|
610
611
|
end
|
|
611
612
|
|
|
612
613
|
send_embedded_message(
|
|
@@ -621,7 +622,7 @@ class QwtfDiscordBotPug # :nodoc:
|
|
|
621
622
|
return send_embedded_message(
|
|
622
623
|
description: "There are only #{combinations.count} possible combinations",
|
|
623
624
|
channel: event.channel
|
|
624
|
-
)
|
|
625
|
+
) && nil
|
|
625
626
|
end
|
|
626
627
|
|
|
627
628
|
teams.each do |team_no, player_ids|
|