Пример #1
0
        public Spawn(DiscordSocketClient client, IExecutor executor, Waifu waifu, IConfig config, ILogger logger)
        {
            _executor = executor;
            _client   = client;
            _logger   = logger;
            _config   = config;
            _waifu    = waifu;

            ServerCounter = new Dictionary <ulong, long>();
            UserCounter   = new Dictionary <ulong, long>();
#if !DEBUG
            _client.MessageReceived += HandleMessageAsync;
#endif
        }