This was here to stop message spamming. If there is a better way of doing this, please say.