kameloso IRC bot
Dlang.org
onCommandMergeQuotes
kameloso
plugins
quote
Merges all quotes of one user to that of another.
version(WithQuotePlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
permissionsRequired
(
Permissions.operator
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("mergequotes").
policy
(
PrefixPolicy.prefixed
).
description
("Merges the quotes of two users.").
addSyntax
("$command [source nickname] [target nickname]"))
void
onCommandMergeQuotes
(
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
Merges all quotes of one user to that of another.