Example #1
0
 public AutoroleService(LoggingService loggingService,
                        DatabaseService databaseService)
 {
     _logger = loggingService;
     _db     = databaseService;
 }
Example #2
0
 public AutoroleService(DatabaseService databaseService)
 => _db = databaseService;
Example #3
0
 public ModerationService(DatabaseService databaseService)
 => _db = databaseService;
Example #4
0
 public WelcomeService(DatabaseService databaseService,
                       LoggingService loggingService)
 {
     _db     = databaseService;
     _logger = loggingService;
 }
Example #5
0
 public ModLogService(DatabaseService databaseService,
                      LoggingService loggingService)
 {
     _db     = databaseService;
     _logger = loggingService;
 }
Example #6
0
 public StarboardService(DatabaseService databaseService, DiscordShardedClient discordShardedClient)
 {
     _db     = databaseService;
     _client = discordShardedClient;
     _starboardReadWriteLock = new AsyncDuplicateLock <ulong>();
 }