Ejemplo n.º 1
0
        public ReactionWatcherService(
            ILogger <ReactionWatcherService> logger,
            DiscordSocketClient discord,
            LinkingService linking,
            RootDatabase db)
        {
            _logger         = logger;
            _discord        = discord;
            _linking        = linking;
            _db             = db;
            _syncedProducts = new ConcurrentDictionary <ulong, RexoProduct>();

            _discord.ReactionAdded += OnReactionAddedAsync;
        }
Ejemplo n.º 2
0
 public LinkingModule(LinkingService linking)
 {
     _linking = linking;
 }