Beispiel #1
0
 public TrackTimezonesBehavior(
     DiscordSocketClient client,
     LyricaContext db) : base(10)
 {
     _client = client;
     _db     = db;
 }
Beispiel #2
0
        public BlessModule(LyricaContext context)
        {
            _db    = context;
            _wheel = new ProbabilityWheel <Blessing>();

            InitializeGame();
        }
 public GenshinImpactModule(
     ILogger <GenshinImpactModule> logger,
     LyricaContext db, IImageService image)
 {
     _db     = db;
     _image  = image;
     _logger = logger;
 }
Beispiel #4
0
 public KaraokeModule(
     ILogger <KaraokeModule> log,
     IServiceProvider services,
     CommandService commands,
     LyricaContext db)
 {
     _log      = log;
     _services = services;
     _commands = commands;
     _db       = db;
 }
Beispiel #5
0
        public CommandHandlingService(
            IServiceProvider services,
            ILogger <CommandHandlingService> log,
            CommandService commands,
            DiscordSocketClient discord,
            LyricaContext db)
        {
            _commands = commands;
            _services = services;
            _discord  = discord;
            _db       = db;
            _log      = log;

            _commands.CommandExecuted += CommandExecutedAsync;
        }
Beispiel #6
0
 public MissingGuildBehavior(LyricaContext db, DiscordSocketClient client)
 {
     _db     = db;
     _client = client;
 }
Beispiel #7
0
 public TimeModule(LyricaContext db)
 {
     _db = db;
 }
 public JoinedGuildBehavior(LyricaContext db)
 {
     _db = db;
 }
Beispiel #9
0
 public UserModule(LyricaContext db, IImageService imageService)
 {
     _db           = db;
     _imageService = imageService;
 }
Beispiel #10
0
 public AnnounceModule(TwitterService twitterService, LyricaContext db)
 {
     _twitterService = twitterService;
     _db             = db;
 }
Beispiel #11
0
 public GuildConfigureModule(LyricaContext db)
 {
     _db = db;
 }
Beispiel #12
0
 public StreamingModule(CampingService campingService, LyricaContext db, CodePasteService paste)
 {
     _campingService = campingService;
     _db             = db;
     _paste          = paste;
 }
Beispiel #13
0
 public NewUserBehavior(ILogger <NewUserBehavior> logger, LyricaContext db)
 {
     _logger = logger;
     _db     = db;
 }