kameloso IRC bot
Dlang.org
onCommandDelQuote
kameloso
plugins
quote
Deletes a quote, given its index in the storage.
version(WithQuotePlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
permissionsRequired
(
Permissions.operator
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("delquote").
policy
(
PrefixPolicy.prefixed
).
description
("Deletes a quote.").
addSyntax
("On Twitch: $command [index]").
addSyntax
("Elsewhere: $command [nickname] [index]"))
void
onCommandDelQuote
(
QuotePlugin
plugin
,
const
ref
IRCEvent
event
)
kameloso
plugins
quote
classes
NoQuotesFoundException
NoQuotesSearchMatchException
QuoteIndexOutOfRangeException
QuotePlugin
functions
getQuoteByIndexString
getQuoteBySearchTerms
getRandomQuote
getTimeStringFromTimestamp
initResources
loadQuotes
onCommandAddQuote
onCommandDelQuote
onCommandMergeQuotes
onCommandModQuote
onCommandQuote
onWelcome
reload
removeWeeChatHead
saveQuotes
selftest
sendQuoteToChannel
structs
Quote
QuoteSettings
Senders
Deletes a quote, given its index in the storage.