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); }
public GroupService(KomiContext context) => _context = context;
public OnReadyListener(KomiContext context, DiscordSocketClient client) { _context = context; _client = client; }
public TrackingModule(KomiContext context) => _context = context;