public MmccInfoCommands(ICommandResponder responder, IDiscordRestInteractionAPI interactionApi, IDiscordRestChannelAPI channelApi, IButtonHandlerRepository handlerRepository, IDiscordRestWebhookAPI webhookApi, IInteractionResponder interactionResponder) { _responder = responder; _interactionApi = interactionApi; _channelApi = channelApi; _handlerRepository = handlerRepository; _webhookApi = webhookApi; _interactionResponder = interactionResponder; }
/// <summary> /// Initializes a new instance of the <see cref="HttpCatCommands"/> class. /// </summary> /// <param name="webhookAPI">The webhook API.</param> /// <param name="context">The command context.</param> public HttpCatCommands ( IDiscordRestWebhookAPI webhookAPI, InteractionContext context ) { _webhookAPI = webhookAPI; _context = context; }
public InteractionResponder(IDiscordRestWebhookAPI webhookApi, DiscordSettings discordSettings, IDiscordRestInteractionAPI interactionApi) { _webhookApi = webhookApi; _discordSettings = discordSettings; _interactionApi = interactionApi; }