Refactor to use channel:opened event syntax