The bot only posts the one emote it is configured for. It replies to any mentions with the emote. It also greets all subs with the amount of months they (re)subbed! The bot can also periodically post the emote automatically.
The bot uses tmi.js to interface with twitch.
Simply run
npm install
to install all required NPM packages.
To start the bot, just start the script with node
node emote_bot.js
Copy config.js.dist
to config.js
and set values accordingly.
config.tmi_opts
:
identity.username
: your twitch username / the bots twitch usernameidentity.password
: the oauth token for authorizationchannels
: an list of channels to join
config.bot_opts
:
emote
: the emote to post (f.i. VoHiYo or missde5Sup)autoPost
: whether to automatically periodically post the emote to all connected channelsautoPostDelay
: the automatic posting interval delay in millisecondsautoPostRngDelay
: set to greater than 0 if the periodic interval delay should further be delayed by a random range of +/-autoPostRngDelay / 2
greetSubs
: whether to greet (re-) subscriptions with as many emotes as months that they subscribedreplyMentions
: whether to reply to any mentions with the emotetierPrimePrefix
,tier1000Prefix
,tier2000Prefix
,tier3000Prefix
: Prefixes to add to sub greetings for each of the different sub tiers