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
IRCEvent
event
)
See Also
TwitchPlugin.ecount
kameloso
plugins
twitch
modules
api
common
emotes
providers
stub
aliases
SongRequestMode
classes
TwitchPlugin
enums
SRM
functions
appendToStreamHistory
complainAboutMissingTokens
generateExpiryReminders
getRoom
initResources
initialise
loadResources
onAnyMessage
onBusMessage
onCommandCommercial
onCommandEcount
onCommandEndPoll
onCommandFollowAge
onCommandNuke
onCommandRepeat
onCommandSetGame
onCommandSetTitle
onCommandShoutout
onCommandSongRequest
onCommandStartPoll
onCommandSubs
onCommandUptime
onCommandVanish
onCommandWatchtime
onEmoteBearingMessage
onEndOfMOTD
onGlobalUserstate
onMyInfo
onNonHomeRoomState
onRoomState
onSelfjoin
onSelfpart
onUserstate
postprocess
promoteUserFromBadges
reload
reportStreamTime
saveResourceToDisk
saveSecretsToDisk
sortBadges
startRoomMonitors
startSaver
startValidator
teardown
structs
Credentials
Follower
TwitchSettings
!ecount; reporting how many times a Twitch emote has been seen.