A student at Wall Township High School was taken into custody by local police after authorities were alerted to a potentially threatening post on the social media site Snapchat, NJ.com reported Wednesday evening.

Cottonfioc/Thinkstock

Police said the male student, whose name was not released due to his age, posted a photo of what looked like a rifle with the caption, "Everyone come to school early tomorrow." Investigators later determined that the weapon depicted was an Airsoft plastic toy gun, and that the teenager was not planning to cause any harm.

He was processed at Wall police headquarters before being released to the custody of a parent. The Wall Township School District has taken disciplinary action.

Patrick Lavery is New Jersey 101.5’s evening news anchor. Follow him on Twitter @plavery1015, email patrick.lavery@townsquaremedia.com, and listen for his live reports Monday through Thursday nights between 6:30 and 11 p.m.