Ejemplo n.º 1
0
        public DiscordBot(PartnerSenderService partnerSender,
                          DiscordShardedClient client, DiscordRestClient rest,
                          CommandErrorHandlingService error, CommandHandlingService command,
                          GuildVerificationService verify, PartnerBotConfiguration pcfg,
                          IServiceProvider serviceProvider)
        {
            this._partnerSender   = partnerSender;
            this._client          = client;
            this._rest            = rest;
            this._error           = error;
            this._command         = command;
            this._verify          = verify;
            this._serviceProvider = serviceProvider;

            Client   = this._client;
            PbCfg    = pcfg;
            Services = this._serviceProvider;
        }
Ejemplo n.º 2
0
 public TestCommandGroup(PartnerSenderService sender, DiscordShardedClient client)
 {
     this._sender = sender;
     this._client = client;
 }