onCommandAddNote

Adds a note to the in-memory storage, and saves it to disk.

Messages sent in a channel will become messages for the target user in that channel. Those sent in a private query will be private notes, sent privately in the same fashion as channel notes are sent publicly.

version(WithNotePlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.QUERY).permissionsRequired(Permissions.anyone).channelPolicy(ChannelPolicy.home).addCommand(IRCEventHandler.Command().word("note").policy(PrefixPolicy.prefixed).description("Adds a note to send to an offline person when they come online, " ~ "or when they show activity if already online.").addSyntax("$command [nickname] [note text]"))
void
onCommandAddNote