You need an experienced lawyer and a lot of luck.This could prove nasty for you if the court can't be persuaded either (in mitigation) that you didn't intend or forsee the most serious consequences that ensued or ( a very long shot) the defence that you never intended to participate in any violence, did not ,and , ever did anything which might be thought to encourage your companions, but were just an innocent person who unluckily got assaulted by mistake.That'll take some doing!
On the face of it ,you and others, mob handed and armed with weapons, got into a fight with another lot similarly equipped. The fact that everyone had been drinking may be seen as making matters worse.The basis of the charge here is there was fighting and violence, involving at least three people ,which was such as to frighten anyone normal who witnessed it..That sounds like a case for a custodial sentence.