first line needs closing and you should make it $cannon then a nick so your fighting somone else instead of bot