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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f87a38b5d47a342ffa747c32212435ce573ce2dd692b983d07a51c46b400830a
4
- data.tar.gz: f7a960f7c832385c32205c8f697d9d1bf4703d6be6498facc2a036ade0185e16
3
+ metadata.gz: 1dbfe17b94ffb666f95b441f62ec327c1a1d14314868ce5fd8c4c1ef245eabd4
4
+ data.tar.gz: c35a33f5698b68456af313fe11011f3da4403f792bbe211d283de108ded8fd3f
5
5
  SHA512:
6
- metadata.gz: 7188dc4199e96eabfb17abd4a344b230c7ebb647ca36ec752a1fa3b7f44ad223099776903efd003fcf354c6bac9fc1e5fef5aa4dbdd1711efdffc2e3552b3e2c
7
- data.tar.gz: 9b23c0757f3262119d76f3c517c2f72ec66e61670aff4208e1d8e4fcbbc67df761c0708a7db0b9edc5c7e6527a2cb2e7029efb0d1aec04c931713c3bb5b24315
6
+ metadata.gz: aa90484972ea80a47ef662e527a723b79bbc7210fc138714412a4102cca05299d71477b4307449790a523d1a2b4508c7a54cc1f243767d73361aa0ff8575e820
7
+ data.tar.gz: 55511370e2de264b7516d4e0bd14ec5e2e49f808d9d763e0bcbf4cd132aebfb0dce7e265428419990444210a0c4df61eb637bea3451665bb62aed7dd5379048b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.5.20
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(team.to_embed_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.add_field(team.to_embed_field)
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
- Discordrb::Webhooks::EmbedField.new(
739
- {
740
- inline: true,
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
- Discordrb::Webhooks::EmbedField.new(
779
- {
780
- inline: true,
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.20
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-18 00:00:00.000000000 Z
11
+ date: 2021-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: discordrb