kameloso IRC bot
Dlang.org
onCommandOp
kameloso
plugins
automode
Triggers a WHOIS of the user invoking it with bot commands.
version(WithAutomodePlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
permissionsRequired
(
Permissions.ignore
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("op").
policy
(
PrefixPolicy.prefixed
).
description
("Forces the bot to attempt to apply automodes."))
void
onCommandOp
(
AutomodePlugin
plugin
,
const
ref
IRCEvent
event
)
kameloso
plugins
automode
classes
AutomodePlugin
functions
applyAutomodes
initResources
loadAutomodes
modifyAutomode
onAccountInfo
onCommandAutomode
onCommandOp
onJoin
onMode
onWelcome
pruneChannels
reload
saveAutomodes
selftest
structs
AutomodeSettings
Triggers a WHOIS of the user invoking it with bot commands.