onChannelMessage

Plays back notes upon someone saying something in the channel, provided NoteSettings.playBackOnAnyActivity is set.

version(WithNotePlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.EMOTE).onEvent(IRCEvent.Type.QUERY).permissionsRequired(Permissions.anyone).channelPolicy(ChannelPolicy.home).chainable(true)
void
onChannelMessage