Recently I was trying to make a script for phantombot that would cause an audio-hook event to occur when someone joined the chat room. I usually stream with 0 people in chat, so I like to know when someone comes on and starts talking.
I tried searching for an event to bind my code to, but I was having a really hard time finding it in the documentation. The “How to make your own script” page has good information on how to start, but no information about events other than ‘command’ and ‘ircChannelMessage’.
What I was hoping for was a list of events like 'ircChannelMessage" that I can bind my own custom scripts to.
So i just did a “grep -r bind” search on the entire scripts folder and parsed it from there. Here’s the list of events I found, one of which is the one I was looking for: “ircChannelJoin”
addHook??? command discordChannelCommand discordChannelCommand discordChannelJoin discordChannelMessage discordChannelPart emotesGet gameWispAnniversary gameWispBenefits GameWispBenefits gameWispChange gameWispSubscribe GameWispSubscribe initReady ircChannelJoin ircChannelLeave ircChannelMessage ircChannelUserMode ircChannelUsersUpdate irClearchat ircPrivateMessage PubSubModerationBan PubSubModerationTimeout PubSubModerationUnBan PubSubModerationUnTimeout streamElementsDonation streamElementsDonationInitialized streamTipDonation streamTipDonationInitialized tipeeeStreamDonation tipeeeStreamDonationInitialized twitchAlertsDonation twitchAlertsDonationInitialized twitchAutoHosted twitchBits twitchClip twitchFollow twitchFollowsInitialized twitchGameChange twitchHosted twitchHostsInitialized twitchOffline twitchOnline twitchPrimeSubscriber twitchReSubscriber twitchSubscriber twitchSubscriptionGift twitter twitterRetweet webPanelSocketUpdate yTPlayerConnect yTPlayerCurrentId yTPlayerDeletePlaylistByID yTPlayerDeleteSR yTPlayerDisconnect yTPlayerLoadPlaylist yTPlayerRandomize yTPlayerRequestCurrentSong yTPlayerRequestPlaylist yTPlayerRequestSonglist yTPlayerSkipSong yTPlayerSongRequest yTPlayerState yTPlayerStealSong yTPlayerVolume
Hopefully someone else will find this useful. Maybe it should be in the documentation area?