コード例 #1
0
 public EventHookerService(DiscordSocketClient client, CommandService command, LoggerService logger,
                           GuildUserAccountService guildUser, GlobalUserAccountService user, CreateLanguageFilesService language,
                           GuildAccountService guildAccount, CooldownService cooldown, BotConfig config)
 {
     _client       = client;
     _commands     = command;
     _logger       = logger;
     _guildUser    = guildUser;
     _user         = user;
     _language     = language;
     _guildAccount = guildAccount;
     _cooldown     = cooldown;
     _config       = config;
 }
コード例 #2
0
 public CommandSucceededService(LoggerService logger, GuildAccountService guildAccount)
 {
     _logger       = logger;
     _guildAccount = guildAccount;
 }
コード例 #3
0
 public CommandFailedService(CustomEmbedService customEmbed, LoggerService logger)
 {
     _customEmbed = customEmbed;
     _logger      = logger;
 }