kameloso IRC bot
Dlang.org
onCommandSet
kameloso
plugins
admin
Sets a plugin option by variable string name.
version(WithAdminPlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
onEvent
(
IRCEvent.Type.QUERY
).
permissionsRequired
(
Permissions.admin
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("set").
policy
(
PrefixPolicy.nickname
).
description
("Changes a setting of a plugin.").
addSyntax
("$command [plugin].[setting]=[value]"))
void
onCommandSet
(
AdminPlugin
plugin
,
const
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
Sets a plugin option by variable string name.