|
|
@@ -87,9 +87,9 @@ namespace Discord |
|
|
|
/// 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) |
|
|
|
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) |
|
|
|
{ |
|
|
|
return await msg.Channel.SendMessageAsync(text, isTTS, embed, options, allowedMentions, new MessageReference(messageId: msg.Id)).ConfigureAwait(false); |
|
|
|
return await msg.Channel.SendMessageAsync(text, isTTS, embed, options, allowedMentions, new MessageReference(messageId: msg.Id), components, stickers).ConfigureAwait(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |