kameloso IRC bot
Dlang.org
onTwitchChannelEvent
kameloso
plugins
note
Plays back notes upon someone performing a Twitch-specific action.
version(WithNotePlugin && TwitchSupport)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.TWITCH_SUB
).
onEvent
(
IRCEvent.Type.TWITCH_SUBGIFT
).
onEvent
(
IRCEvent.Type.TWITCH_CHEER
).
onEvent
(
IRCEvent.Type.TWITCH_REWARDGIFT
).
onEvent
(
IRCEvent.Type.TWITCH_GIFTCHAIN
).
onEvent
(
IRCEvent.Type.TWITCH_BULKGIFT
).
onEvent
(
IRCEvent.Type.TWITCH_SUBUPGRADE
).
onEvent
(
IRCEvent.Type.TWITCH_CHARITY
).
onEvent
(
IRCEvent.Type.TWITCH_BITSBADGETIER
).
onEvent
(
IRCEvent.Type.TWITCH_RITUAL
).
onEvent
(
IRCEvent.Type.TWITCH_EXTENDSUB
).
onEvent
(
IRCEvent.Type.TWITCH_GIFTRECEIVED
).
onEvent
(
IRCEvent.Type.TWITCH_PAYFORWARD
).
onEvent
(
IRCEvent.Type.TWITCH_RAID
).
onEvent
(
IRCEvent.Type.TWITCH_CROWDCHANT
).
onEvent
(
IRCEvent.Type.TWITCH_ANNOUNCEMENT
).
onEvent
(
IRCEvent.Type.TWITCH_DIRECTCHEER
).
permissionsRequired
(
Permissions.ignore
).
channelPolicy
(
ChannelPolicy.home
).
chainable
(true)
void
onTwitchChannelEvent
(
NotePlugin
plugin
,
const
ref
IRCEvent
event
)
kameloso
plugins
note
classes
NotePlugin
functions
initResources
loadNotes
onChannelMessage
onCommandAddNote
onJoinOrAccount
onTwitchChannelEvent
onWelcome
onWhoReply
playbackNotes
playbackNotesImpl
reload
saveNotes
selftest
structs
Note
NoteSettings
Plays back notes upon someone performing a Twitch-specific action.