kameloso IRC bot
Dlang.org
onCommandEcount
kameloso
plugins
twitch
!ecount
; reporting how many times a Twitch emote has been seen.
version(TwitchSupport && WithTwitchPlugin)
private
@
IRCEventHandler
().
onEvent
(
IRCEvent.Type.CHAN
).
onEvent
(
IRCEvent.Type.SELFCHAN
).
permissionsRequired
(
Permissions.anyone
).
channelPolicy
(
ChannelPolicy.home
).
addCommand
(
IRCEventHandler.Command
().
word
("ecount").
policy
(
PrefixPolicy.prefixed
).
description
("Reports how many times a Twitch emote has been used in the channel.").
addSyntax
("$command [emote]"))
void
onCommandEcount
(
TwitchPlugin
plugin
,
const
ref
IRCEvent
event
)
See Also
TwitchPlugin.ecount
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
!ecount; reporting how many times a Twitch emote has been seen.