public DiscordMessage SendMessage(EmbedMaker embed) { return(SendMessageAsync(embed).GetAwaiter().GetResult()); }
public Task <DiscordMessage> SendMessageAsync(EmbedMaker embed) { return(Client.SendMessageAsync(Id, embed)); }
public static async Task <DiscordMessage> SendMessageAsync(this DiscordClient client, ulong channelId, EmbedMaker embed) { return(await client.SendMessageAsync(channelId, new MessageProperties() { Embed = embed })); }
public static DiscordMessage SendMessage(this DiscordClient client, ulong channelId, EmbedMaker embed) { return(client.SendMessageAsync(channelId, embed).GetAwaiter().GetResult()); }
public static async Task <DiscordMessage> SendMessageAsync(this DiscordClient client, ulong channelId, EmbedMaker embed) { return(await client.SendMessageAsync(channelId, null, false, embed)); }