A simple chat bot for twitch, mostly showcase of my typescript module twitch.ts
!uptime- sends uptime of bot!sex- "checks" your age, if not confirmed, sends tutorial for confirmation of your age, haha so funny!nuke <object>- sends nuke to object you specified! however arrival time is random...!russianroulette- with chance 1/6 timeouts you for random duration!blockedtermadd <term>- makes term be blocked by twitch automod, works only if you are moderator!!blockedtermremove <term>- removes term from blocked by twitch automod, works only if you are moderator!!blockedtermlist- sends the link for showing blocked terms of channel, works only if you are moderator!!game <game_name>- changes game on stream, works only if you are moderator! (to unset game just do not pass the argument or type 0 in it)!title <title>- changes title of stream, works only if you are moderator!!followtime- shows your follow time!followtime <username>- shows follow time of user you specified
npm inpm run buildnode index.js- "first" running gives you instructions to how to run the app
user:write:chat- answering to commands of the chat
user:read:chat- reading the chat messages, this scope is not on bot because channel.chat.message event costs 0 if you reading own chatmoderator:manage:blocked_terms- manage blocked terms by commands!blockedtermaddor!blockedtermremovemoderator:manage:banned_users- used by command!russianroulettefor timeout userchannel:manage:broadcast- used by commands!game!titlefor changing stream informationmoderator:read:followers- used by command!followtimeto get follow time of usermoderator:read:chatters- used for!watchtimecommand system (polling Request.GetChatters)
- merge this with db-module-core as new module