forked from EllieBotDevs/elliebot
18 lines
647 B
C#
18 lines
647 B
C#
using Discord;
|
|
|
|
namespace EllieBot;
|
|
|
|
public interface IEmbedBuilder
|
|
{
|
|
IEmbedBuilder WithDescription(string? desc);
|
|
IEmbedBuilder WithTitle(string? title);
|
|
IEmbedBuilder AddField(string title, object value, bool isInline = false);
|
|
IEmbedBuilder WithFooter(string text, string? iconUrl = null);
|
|
IEmbedBuilder WithAuthor(string name, string? iconUrl = null, string? url = null);
|
|
IEmbedBuilder WithColor(EmbedColor color);
|
|
IEmbedBuilder WithDiscordColor(Color color);
|
|
Embed Build();
|
|
IEmbedBuilder WithUrl(string url);
|
|
IEmbedBuilder WithImageUrl(string url);
|
|
IEmbedBuilder WithThumbnailUrl(string url);
|
|
}
|