Timothy Wright in custody until contest mention on July 30

​A PANMURE district man is fighting firearm charges after a gun was found in a shed at a property where he was staying.

Timothy Wright, 26, of Panmure-Naringal Road, appeared in the Warrnambool Magistrates Court this week via a video link from custody charged with five offences.

Solicitor Amanda Chambers said Wright would plead guilty to sending a threatening  messages on Facebook Messenger to a police officer, but wanted to contest two firearms charges.

Magistrate Cynthia Toose said that Wright previously pleaded guilty in court to doing a burnout at the Warrnambool police station in an incident that including him yelling obscenities at officers.

Then in July last year Wright also sent three messages to a police officer, one saying he owed him a three-seater couch, another of two naked women fighting and the third on January 20 saying something similar to "it ain't when it's where".

Wright is claimed to have mentioned a firearm in threatening message to a woman.

Police went to the property where Wright was staying at 8am on February where they located a sawn-off rifle in a workshop shed.

The owner of the property said he had no knowledge of the firearm.

Wright also claims he knows nothing about the gun.

He is next expected to next appear in court on May 29.