Press U to open the Guild window, then go to the Event Filters tab, and there's a checkbox, "Don't generate guild events for this character"