3using System.Threading.Tasks;
5using Remora.Discord.API.Abstractions.Gateway.Events;
6using Remora.Discord.Gateway.Responders;
An IResponder<TGatewayEvent> that forwards to another targetResponder.
DiscordForwardingResponder(IDiscordResponders targetResponder)
Initializes a new instance of the DiscordForwardingResponder class.
Task< Result > RespondAsync(IMessageCreate gatewayEvent, CancellationToken ct)
readonly IDiscordResponders targetResponder
The IResponder<TGatewayEvent> to forward the event to.
Task< Result > RespondAsync(IReady gatewayEvent, CancellationToken ct)
Combined interface for the IResponder types used by TGS.