command / me.schlaubi.regnumutils.common.messaging / EmbedUtil / embed

embed

@NotNull open static fun embed(@Nullable title: @Nullable String?, @Nullable description: @Nullable String?, @Nullable footer: @Nullable String?, @Nullable footerLink: @Nullable String?, @Nullable color: @Nullable Color?): @NotNull EmbedBuilder

Helper method for creating embeds.

Parameters

title - String?: the title of the embed

description - String?: the description of the embed

footer - String?: the footer of the embed

footerLink - String?: the link to the image of the footer

color - Color?: the color of the embed

Return
EmbedBuilder: the embed's builder

@NotNull open static fun embed(@Nullable title: @Nullable String?, @Nullable description: @Nullable String?, @Nullable footer: @Nullable String?, @Nullable color: @Nullable Color?): @NotNull EmbedBuilder

Helper method for basic info-embed.

Parameters

title - String?: the title of the embed

description - String?: the description of the embed

footer - String?: the footer of the embed

color - Color?: the color of the embed

Return
EmbedBuilder: the embed's builder

@NotNull open static fun embed(@Nullable title: @Nullable String?, @Nullable description: @Nullable String?, @Nullable color: @Nullable Color?): @NotNull EmbedBuilder

Helper method for basic embed.

Parameters

title - String?: the title of the embed

description - String?: the description of the embed

color - Color?: the color of the embed

Return
EmbedBuilder: the embed's builder

@NotNull open static fun embed(@Nullable description: @Nullable String?, @Nullable color: @Nullable Color?): @NotNull EmbedBuilder

Helper method for small embed.

Parameters

description - String?: the description of the embed

color - Color?: the color of the embed

Return
EmbedBuilder: the embed's builder