@TechnoTim
  @TechnoTim
Techno Tim | How to Build a Twitch Bot Using TMI.JS (a moderator bot). @TechnoTim | Uploaded May 2020 | Updated October 2024, 1 hour ago.
Let's build a bot! Not a bad bot like a view bot, but bot for good. Let's build a Twitch moderator bot using tmi.js! The Twitch API is powerful and and already has lots of great bots however no bot has the flexibility of creating your own! In this video I will show you how to build a Twitch bot using TMI.JS from start to finish. You'll see how to use the developer portal, set up oauth, set the correct scopes, get an access token, create a bot using JavaScript, NodeJS, and NPM, invite the bot to your Twitch channel, and have it moderate your chat. Also, We have made this bot open source and will continue to contribute to this bot.

Video Notes: https://technotim.live/posts/twitch-bot/

If you need help cloning this repo, or setting up your developer machine, see my other video:
youtube.com/watch?v=kL8iGErULiw

GitHub Repo github.com/techno-tim/techno-boto-twitch

Support me on Patreon: patreon.com/technotim
Sponsor me on GitHub: github.com/sponsors/timothystewart6
Subscribe on Twitch: twitch.tv/technotim
Become a YouTube member: youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join
Merch Shop: https://l.technotim.live/shop
Gear Recommendations: https://l.technotim.live/gear
Get Help in Our Discord Community: https://l.technotim.live/discord
2nd channel: youtube.com/@TechnoTimTalks

(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)

00:00 - Intro
00:19 - Why
00:56 - Prerequisites
01:16 - Twitch Developer Site
02:08 - Bootstrap Our App
05:59 - Install tmi.js
07:21 - Start the App
07:50 - OAuth Token
10:37 - Start Bot with Auth
10:57 - Code Cleanup
13:37 - !hello command
13:47 - Moderator Code
20:32 - DO NOT DO THIS
22:39 - Testing the App
22:59 - Made the Bot Open Source

Tim Kits:
► 4K YouTube Kit - kit.co/TechnoTim/4k-youtube-kit
► Pro Level Live Streaming Kit - kit.co/TechnoTim/pro-level-live-streaming-kit
► Budget Gaming Streaming PC 2020- kit.co/TechnoTim/budget-gaming-streaming-pc-2020
► Performance Virtualization Server- kit.co/TechnoTim/performance-virtualization-nas-server
► Budget NAS Server- kit.co/TechnoTim/budget-nas-server
► Coding & Gaming Keyboards- kit.co/TechnoTim/coding-gaming-keyboards
► Coding & Gaming Mice- kit.co/TechnoTim/coding-gaming-mice

⏯ Recommended Videos ⏯
► 20 Ways to Use a Virtual Machine (and other ideas for your homelab) youtube.com/watch?v=SVQmzaSabEQ
► Remote Gaming with Promox youtube.com/watch?v=fgx3NMk6F54
► Let's Build a Discord Bot Using DiscordJS - Moderator Bot youtube.com/watch?v=YSZcyz2-twQ

#tmijs #TwitchBot #TechnoTim #OpenSource #twitch #TwitchDeveloper

Description Tags: Techno Tim, technotim, tmijs, tmi.js, create a chat bot, twitch chat bot, twitch api development, software engineering, software engineer, twitch gaming api, twitch chatting bot, twitch robot, twtch moderator channel, moderators, help your moderators, how to build a twitch bot.

Thank you for watching!
How to Build a Twitch Bot Using TMI.JS (a moderator bot).Set up alerts in Proxmox before its too late!Low Power Cluster - Small, Efficient, BUT Powerful!GPU Passthrough on Linux and Docker for AI, ML, and PlexTobi-Kadachi down! Monster Hunter: WorldHigh Availability Rancher on a Kubernetes ClusterAnother awesome scene in Monster Hunter: WorldHow to Build a Slack BotSSL, Traefik, and OAuth for Rancher! (Google, GitHub, Keycloak, Azure, and more!)Building a Low Power, All-in-One,  Silent ServerOne of the best scenes yet in Monster Hunter World!My HUGE (but small) 1U Server Upgrade

How to Build a Twitch Bot Using TMI.JS (a moderator bot). @TechnoTim

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER