コード例 #1
0
        public AutoReactionTrainer([NotNull] DiscordSocketClient client, ISentimentTrainer sentiment)
        {
            _sentiment = sentiment;

            client.ReactionAdded += OnReactionAdded;
        }
コード例 #2
0
 public AutoReactionTrainer(BaseSocketClient client, ISentimentTrainer sentiment)
 {
     _sentiment = sentiment;
     _client    = client;
 }