kameloso IRC bot
Dlang.org
onCommandSetGame
kameloso
plugins
twitch
Changes the game 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
("setgame").
policy
(
PrefixPolicy.prefixed
).
description
("Sets the channel game.").
addSyntax
("$command [game name]").
addSyntax
("$command"))
void
onCommandSetGame
(
TwitchPlugin
plugin
,
const
IRCEvent
event
)
See Also
kameloso.plugins.twitch.api.setChannelGame
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 game of the current channel.