kameloso IRC bot
Dlang.org
onCommandCommands
kameloso
plugins
oneliner
Sends a list of the current oneliners to the channel.
Merely calls
listCommands
.
version(WithOnelinerPlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
permissionsRequired
(
Permissions.anyone
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("commands").
policy
(
PrefixPolicy.prefixed
).
description
("Lists all available oneliners."))
void
onCommandCommands
(
OnelinerPlugin
plugin
,
const
ref
IRCEvent
event
)
kameloso
plugins
oneliner
classes
OnelinerPlugin
functions
handleAddToOneliner
handleAliasOneliner
handleDelFromOneliner
handleModifyOneliner
handleNewOneliner
initResources
listCommands
loadOneliners
newOnelinerImpl
onCommandCommands
onCommandModifyOneliner
onOneliner
onWelcome
reload
saveResourceToDisk
selftest
sendOneliner
structs
Oneliner
OnelinerSettings
Sends a list of the current oneliners to the channel.
Merely calls listCommands.