onCommandSay

Repeats text to the channel the event was sent to.

If it was sent in a query, respond in a private message in kind.

version(WithChatbotPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.QUERY).permissionsRequired(Permissions.anyone).channelPolicy(ChannelPolicy.home).addCommand(IRCEventHandler.Command().word("say").policy(PrefixPolicy.prefixed).description("Repeats text to the current channel. Amazing.").addSyntax("$command [text to repeat]")).addCommand(IRCEventHandler.Command().word("säg").policy(PrefixPolicy.nickname).hidden(true)).addCommand(IRCEventHandler.Command().word("echo").policy(PrefixPolicy.prefixed).hidden(true))
void
onCommandSay