public Task <IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null, ISticker[] stickers = null, Embed[] embeds = null)
 {
     throw new NotImplementedException();
 }
Example #2
0
 /// <summary>
 ///     Sends an inline reply that references a message.
 /// </summary>
 /// <param name="msg">The message that is being replied on.</param>
 /// <param name="text">The message to be sent.</param>
 /// <param name="isTTS">Determines whether the message should be read aloud by Discord or not.</param>
 /// <param name="embed">The <see cref="Discord.EmbedType.Rich"/> <see cref="Embed"/> to be sent.</param>
 /// <param name="embeds">A array of <see cref="Embed"/>s to send with this response. Max 10.</param>
 /// <param name="allowedMentions">
 ///     Specifies if notifications are sent for mentioned users and roles in the message <paramref name="text"/>.
 ///     If <c>null</c>, all mentioned roles and users will be notified.
 /// </param>
 /// <param name="options">The options to be used when sending the request.</param>
 /// <param name="components">The message components to be included with this message. Used for interactions.</param>
 /// <param name="stickers">A collection of stickers to send with the message.</param>
 /// <returns>
 ///     A task that represents an asynchronous send operation for delivering the message. The task result
 ///     contains the sent message.
 /// </returns>
 public static async Task <IUserMessage> ReplyAsync(this IUserMessage msg, string text = null, bool isTTS = false, Embed embed = null, AllowedMentions allowedMentions = null, RequestOptions options = null, MessageComponent components = null, ISticker[] stickers = null, Embed[] embeds = null)
 {
     return(await msg.Channel.SendMessageAsync(text, isTTS, embed, options, allowedMentions, new MessageReference(messageId : msg.Id), components, stickers, embeds).ConfigureAwait(false));
 }
 public Task <IUserMessage> SendFilesAsync(IEnumerable <FileAttachment> attachments, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null, ISticker[] stickers = null, Embed[] embeds = null) => throw new NotImplementedException();
Example #4
0
 public Task <IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
 {
     throw new NotImplementedException();
 }
Example #5
0
 public Task <IUserMessage> SendFileAsync(Stream stream, string filename, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
 {
     throw new NotImplementedException();
 }
 public Task <IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null)
 {
     throw new NotImplementedException();
 }
Example #7
0
 public Task <IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions                                         = null, MessageReference messageReference = null, MessageComponent component        = null, ISticker[] stickers        = null, Embed[] embeds = null, MessageFlags flags  = MessageFlags.None) => throw new NotImplementedException();