qwtf_discord_bot 5.5.20 → 5.5.21
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/qstat_request.rb +2 -2
- data/lib/qwtf_discord_bot/qwtf_discord_bot_pug.rb +6 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dbfe17b94ffb666f95b441f62ec327c1a1d14314868ce5fd8c4c1ef245eabd4
|
4
|
+
data.tar.gz: c35a33f5698b68456af313fe11011f3da4403f792bbe211d283de108ded8fd3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa90484972ea80a47ef662e527a723b79bbc7210fc138714412a4102cca05299d71477b4307449790a523d1a2b4508c7a54cc1f243767d73361aa0ff8575e820
|
7
|
+
data.tar.gz: 55511370e2de264b7516d4e0bd14ec5e2e49f808d9d763e0bcbf4cd132aebfb0dce7e265428419990444210a0c4df61eb637bea3451665bb62aed7dd5379048b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.5.
|
1
|
+
5.5.21
|
data/lib/qstat_request.rb
CHANGED
@@ -17,7 +17,7 @@ class QstatRequest
|
|
17
17
|
embed = Discordrb::Webhooks::Embed.new
|
18
18
|
|
19
19
|
teams.each do |team|
|
20
|
-
embed.add_field
|
20
|
+
embed.add_field << team.to_embed_field
|
21
21
|
end
|
22
22
|
|
23
23
|
embed
|
@@ -31,7 +31,7 @@ class QstatRequest
|
|
31
31
|
)
|
32
32
|
|
33
33
|
teams.each do |team|
|
34
|
-
embed
|
34
|
+
embed << team.to_embed_field
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
@@ -735,13 +735,9 @@ class QwtfDiscordBotPug # :nodoc:
|
|
735
735
|
end
|
736
736
|
|
737
737
|
embed.add_field(
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
name: team_name(team_no),
|
742
|
-
value: team_display_names.join("\n")
|
743
|
-
}
|
744
|
-
)
|
738
|
+
inline: true,
|
739
|
+
name: team_name(team_no),
|
740
|
+
value: team_display_names.join("\n")
|
745
741
|
)
|
746
742
|
end
|
747
743
|
end
|
@@ -775,13 +771,9 @@ class QwtfDiscordBotPug # :nodoc:
|
|
775
771
|
end
|
776
772
|
|
777
773
|
embed.add_field(
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
name: team_name(team_no),
|
782
|
-
value: team_mentions.join("\n")
|
783
|
-
}
|
784
|
-
)
|
774
|
+
inline: true,
|
775
|
+
name: team_name(team_no),
|
776
|
+
value: team_mentions.join("\n")
|
785
777
|
)
|
786
778
|
end
|
787
779
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qwtf_discord_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sheldon Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: discordrb
|