public void OnNext(SocketMessage message)
        {
            var responder = new DiscordResponder();

            responder.SetResponseBehavior(new HelpBehavior(_db, message));
            responder.Respond();
        }
Example #2
0
        public void OnNext(DiscordSocketClient client)
        {
            var responder = new DiscordResponder();

            responder.SetResponseBehavior(new NotificationBehavior(_db, client));
            responder.Respond();
        }
Example #3
0
        public void OnNext(SocketMessage message)
        {
            var responder = new DiscordResponder();

            responder.SetResponseBehavior(new TranslationBehavior(message, _translationApiKey));
            responder.Respond();
        }
        public void OnNext(SocketGuild guild)
        {
            var responder = new DiscordResponder();

            responder.SetResponseBehavior(new JoinedBehavior(guild));
            responder.Respond();
        }