Example #1
0
        public static void Handle(DiscordSocketClient client, string s)
        {
            if (!Handlers.Any())
            {
                AddCommands();
            }
            var packetBase = PacketBase.GetBase(s);

            if (Handlers.ContainsKey(packetBase))
            {
                Handlers[packetBase].execute(client, s);
            }
        }