TwitchSettings

All Twitch plugin runtime settings.

Placed outside of the version gates to make sure it is always available, even on non-WithTwitchPlugin builds, so that the Twitch stub may import it and provide lines to the configuration file.

Members

Variables

bellOnImportant
bool bellOnImportant;

Whether or not to bell on important events, like subscriptions.

bellOnMessage
bool bellOnMessage;

Whether or not to bell on every message.

customEmotes
bool customEmotes;

Whether or not to import custom emotes.

ecount
bool ecount;

Whether or not to count emotes in chat, to be able to respond to !ecount queries about how many times a specific one has been seen.

enabled
bool enabled;

Whether or not this plugin should react to any events.

googleKeygen
bool googleKeygen;

Whether or not to start a terminal wizard requesting Google access tokens.

keygen
bool keygen;

Whether or not to start a terminal wizard requesting a Twitch access token with normal chat privileges.

mapWhispersToChannel
bool mapWhispersToChannel;

Whether or not to interpret whispers received by someone whose channel is a home channel into a channel message in that channel.

promoteBroadcasters
bool promoteBroadcasters;

Whether or not broadcasters are always implicitly class IRCUser.Class.staff.

promoteModerators
bool promoteModerators;

Whether or not moderators are always implicitly (at least) class IRCUser.Class.operator.

promoteVIPs
bool promoteVIPs;

Whether or not VIPs are always implicitly (at least) class IRCUser.Class.elevated.

songrequestMode
SongRequestMode songrequestMode;

What kind of song requests to accept, if any.

songrequestPermsNeeded
IRCUser.Class songrequestPermsNeeded;

What level of user permissions are needed to issue song requests.

spotifyKeygen
bool spotifyKeygen;

Whether or not to start a terminal wizard requesting Spotify access tokens.

superKeygen
bool superKeygen;

Whether or not to start a terminal wizard requesting a Twitch access token with broadcaster privileges.

watchtime
bool watchtime;

Whether or not to count the time people spend watching streams, to be able to respond to !watchtime.

watchtimeExcludesLurkers
bool watchtimeExcludesLurkers;

Whether or not to only count watchtime for users that has shown activity in the channel. This makes it ignore silent lurkers.

workerThreads
uint workerThreads;

How many worker threads to use, to offload the HTTP requests to.

youtubeKeygen
bool youtubeKeygen;

Runtime "alias" to googleKeygen.