kameloso IRC bot
Dlang.org
onCommandSetTitle
kameloso
plugins
twitch
Changes the title of the current channel.
version(TwitchSupport && WithTwitchPlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
onEvent
(
IRCEvent.Type.SELFCHAN
).
permissionsRequired
(
Permissions.operator
).
channelPolicy
(
ChannelPolicy.home
).
fiber
(true).
addCommand
(
IRCEventHandler.Command
().
word
("settitle").
policy
(
PrefixPolicy.prefixed
).
description
("Sets the channel title.").
addSyntax
("$command [title]")).
addCommand
(
IRCEventHandler.Command
().
word
("title").
policy
(
PrefixPolicy.prefixed
).
hidden
(true))
void
onCommandSetTitle
(
TwitchPlugin
plugin
,
const
IRCEvent
event
)
See Also
kameloso.plugins.twitch.api.setChannelTitle
kameloso
plugins
twitch
modules
api
common
emotes
providers
stub
aliases
SongRequestMode
classes
TwitchPlugin
enums
SRM
functions
appendToStreamHistory
complainAboutMissingTokens
initResources
initRoom
initialise
loadResources
onAnyMessage
onBusMessage
onCommandCommercial
onCommandEcount
onCommandEndPoll
onCommandFollowAge
onCommandNuke
onCommandRepeat
onCommandSetGame
onCommandSetTitle
onCommandShoutout
onCommandSongRequest
onCommandStartPoll
onCommandSubs
onCommandUptime
onCommandVanish
onCommandWatchtime
onEndOfMOTD
onGlobalUserstate
onImportant
onMyInfo
onNonHomeRoomState
onRoomState
onSelfjoin
onSelfpart
onUserstate
postprocess
promoteUserFromBadges
reload
reportStreamTime
saveResourceToDisk
saveSecretsToDisk
setup
startRoomMonitors
startSaver
startValidator
teardown
structs
Credentials
Follower
TwitchSettings
Changes the title of the current channel.