adding checking to see if messages originate from the channel or from a user, to prevent abuse