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); } }
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); } }