kameloso IRC bot
Dlang.org
onCommandReexec
kameloso
plugins
admin
Re-executes the program.
version(WithAdminPlugin && Posix)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
onEvent
(
IRCEvent.Type.QUERY
).
permissionsRequired
(
Permissions.admin
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("reexec").
policy
(
PrefixPolicy.nickname
).
description
("Re-executes the program.").
addSyntax
("$command [optional quit message]"))
void
onCommandReexec
(
AdminPlugin
plugin
,
const
ref
IRCEvent
event
)
kameloso
plugins
admin
modules
classifiers
debugging
classes
AdminPlugin
functions
addChannel
cycle
delChannel
initialise
listHostmaskDefinitions
onAnyEvent
onBusMessage
onCommandAuth
onCommandBlacklist
onCommandBus
onCommandCycle
onCommandElevated
onCommandFake
onCommandGet
onCommandGuest
onCommandHome
onCommandJoin
onCommandMask
onCommandOperator
onCommandPart
onCommandPrintBytes
onCommandPrintEvents
onCommandPrintRaw
onCommandQuit
onCommandReconnect
onCommandReexec
onCommandReload
onCommandSave
onCommandSelftest
onCommandSet
onCommandShowUser
onCommandShowUsers
onCommandStaff
onCommandSudo
onCommandSummary
onCommandWhitelist
onCommandWhoami
parseTypesFromString
selftest
manifest constants
omniscientChannelPolicy
structs
AdminSettings
Re-executes the program.