Add missing methods to IComponentInteraction (#2201)
This commit is contained in:
@@ -492,5 +492,13 @@ namespace Discord.Rest
|
||||
|
||||
/// <inheritdoc/>
|
||||
IUserMessage IComponentInteraction.Message => Message;
|
||||
|
||||
/// <inheritdoc />
|
||||
Task IComponentInteraction.UpdateAsync(Action<MessageProperties> func, RequestOptions options)
|
||||
=> Task.FromResult(Update(func, options));
|
||||
|
||||
/// <inheritdoc />
|
||||
Task IComponentInteraction.DeferLoadingAsync(bool ephemeral, RequestOptions options)
|
||||
=> Task.FromResult(DeferLoading(ephemeral, options));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user