public MinecraftAutoRestartsCommands(IMediator mediator, IColourPalette colourPalette, ICommandResponder responder ) { _mediator = mediator; _colourPalette = colourPalette; _responder = responder; }
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> /// Instantiates a new instance of <see cref="TagsUsageCommands"/>. /// </summary> /// <param name="context">The message context.</param> /// <param name="mediator">The mediator.</param> /// <param name="responder">The command responder.</param> public TagsUsageCommands( MessageContext context, IMediator mediator, ICommandResponder responder ) { _context = context; _mediator = mediator; _responder = responder; }
/// <summary> /// Instantiates a new instance of <see cref="GuildCommands"/> class. /// </summary> /// <param name="context">The message context.</param> /// <param name="colourPalette">The colour palette.</param> /// <param name="mediator">The mediator.</param> /// <param name="responder">The command responder.</param> public GuildCommands( MessageContext context, IColourPalette colourPalette, IMediator mediator, ICommandResponder responder ) { _context = context; _colourPalette = colourPalette; _mediator = mediator; _responder = responder; }
/// <summary> /// Instantiates a new instance of <see cref="HelpCommands"/> class. /// </summary> /// <param name="context">The message context.</param> /// <param name="responder">The command responder.</param> /// <param name="dmSender">The DM sender.</param> /// <param name="mediator">The mediator.</param> public HelpCommands( MessageContext context, ICommandResponder responder, IDmSender dmSender, IMediator mediator ) { _context = context; _responder = responder; _mediator = mediator; _dmSender = dmSender; }
/// <summary> /// Instantiates a new instance of <see cref="MinecraftServersCommands"/> class. /// </summary> /// <param name="context">The message context.</param> /// <param name="mediator">The mediator.</param> /// <param name="colourPalette">The colour palette.</param> /// <param name="polychatService">The polychat service.</param> /// <param name="responder">The command responder.</param> public MinecraftServersCommands( MessageContext context, IMediator mediator, IColourPalette colourPalette, IPolychatService polychatService, ICommandResponder responder ) { _context = context; _mediator = mediator; _colourPalette = colourPalette; _polychatService = polychatService; _responder = responder; }
/// <summary> /// Instantiates a new instance of <see cref="PlayerInfoCommands"/>. /// </summary> /// <param name="context">The message context.</param> /// <param name="mediator">The mediator.</param> /// <param name="colourPalette">The colour palette.</param> /// <param name="mojangApi">The Mojang API.</param> /// <param name="guildApi">The guild API.</param> /// <param name="responder">The command responder.</param> public PlayerInfoCommands( MessageContext context, IMediator mediator, IColourPalette colourPalette, IMojangApiService mojangApi, IDiscordRestGuildAPI guildApi, ICommandResponder responder ) { _context = context; _mediator = mediator; _colourPalette = colourPalette; _mojangApi = mojangApi; _guildApi = guildApi; _responder = responder; }
/// <summary> /// Instantiates a new instance of <see cref="BanCommands"/> class. /// </summary> /// <param name="context">The message context.</param> /// <param name="mediator">The mediator.</param> /// <param name="colourPalette">The colour palette.</param> /// <param name="responder">The command responder.</param> public BanCommands( MessageContext context, IMediator mediator, IColourPalette colourPalette, ICommandResponder responder ) { _context = context; _mediator = mediator; _responder = responder; _embedBase = new Embed { Description = "User has been banned successfully.", Colour = colourPalette.Green }; }
/// <summary> /// Instantiates a new instance of <see cref="MemberApplicationsCommands"/>. /// </summary> /// <param name="context">The message context.</param> /// <param name="channelApi">The channel API.</param> /// <param name="mediator">The mediator.</param> /// <param name="colourPalette">The colour palette.</param> /// <param name="discordSettings">The Discord settings.</param> /// <param name="guildApi">The guild API.</param> /// <param name="responder">The command responder.</param> public MemberApplicationsCommands( MessageContext context, IDiscordRestChannelAPI channelApi, IMediator mediator, IColourPalette colourPalette, DiscordSettings discordSettings, IDiscordRestGuildAPI guildApi, ICommandResponder responder ) { _context = context; _channelApi = channelApi; _mediator = mediator; _colourPalette = colourPalette; _discordSettings = discordSettings; _guildApi = guildApi; _responder = responder; }