Merge pull request #1109 from Owain94/discordwarning
discord: builder default
This commit is contained in:
@@ -61,6 +61,7 @@ public class DiscordEmbed
|
||||
VideoEmbed video;
|
||||
ProviderEmbed provider;
|
||||
AuthorEmbed author;
|
||||
@Builder.Default
|
||||
List<FieldEmbed> fields = new ArrayList<>();
|
||||
|
||||
public DiscordEmbed()
|
||||
|
||||
@@ -48,6 +48,7 @@ public class DiscordMessage
|
||||
String avatarUrl;
|
||||
@SerializedName("tts")
|
||||
boolean textToSpeech;
|
||||
@Builder.Default
|
||||
List<DiscordEmbed> embeds = new ArrayList<>();
|
||||
|
||||
public DiscordMessage()
|
||||
|
||||
Reference in New Issue
Block a user