Ejemplo n.º 1
0
        public MessageRecievedListener(
            CommandService commands, DiscordSocketClient discord, IServiceProvider services,
            KomiContext database)
        {
            _commands = commands;
            _discord  = discord;
            _services = services;
            _database = database;

            _prefixCache = _prefixCache = new Cache <ulong, IEnumerable <string> >(GetPrefix);
        }
Ejemplo n.º 2
0
 public GroupService(KomiContext context) => _context = context;
Ejemplo n.º 3
0
 public OnReadyListener(KomiContext context, DiscordSocketClient client)
 {
     _context = context;
     _client  = client;
 }
Ejemplo n.º 4
0
 public TrackingModule(KomiContext context) => _context = context;