kameloso IRC bot
Dlang.org
onCommandMask
kameloso
plugins
admin
Adds, removes or lists hostmasks used to identify users on servers that don't employ services.
version(WithAdminPlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
onEvent
(
IRCEvent.Type.QUERY
).
permissionsRequired
(
Permissions.admin
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("hostmask").
policy
(
PrefixPolicy.prefixed
).
description
("Modifies a hostmask definition, for use on servers without services accounts.").
addSyntax
("$command add [account] [hostmask]").
addSyntax
("$command del [hostmask]").
addSyntax
("$command list")).
addCommand
(
IRCEventHandler.Command
().
word
("mask").
policy
(
PrefixPolicy.prefixed
).
hidden
(true))
void
onCommandMask
(
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
Adds, removes or lists hostmasks used to identify users on servers that don't employ services.