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

Описание к видео How to Build a Twitch Bot Using TMI.JS (a moderator bot).

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:
   • Setting Up Windows for JavaScript Dev...  

GitHub Repo https://github.com/techno-tim/techno-...

Support me on Patreon:   / technotim  
Sponsor me on GitHub: https://github.com/sponsors/timothyst...
Subscribe on Twitch:   / technotim  
Become a YouTube member:    / @technotim  
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:    / @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 - https://kit.co/TechnoTim/4k-youtube-kit
► Pro Level Live Streaming Kit - https://kit.co/TechnoTim/pro-level-li...
► Budget Gaming Streaming PC 2020- https://kit.co/TechnoTim/budget-gamin...
► Performance Virtualization Server- https://kit.co/TechnoTim/performance-...
► Budget NAS Server- https://kit.co/TechnoTim/budget-nas-s...
► Coding & Gaming Keyboards- https://kit.co/TechnoTim/coding-gamin...
► Coding & Gaming Mice- https://kit.co/TechnoTim/coding-gamin...

⏯ Recommended Videos ⏯
► 20 Ways to Use a Virtual Machine (and other ideas for your homelab)    • 20 Ways to Use a Virtual Machine (and...  
► Remote Gaming with Promox    • Remote Gaming! (and Video Encoding us...  
► Let's Build a Discord Bot Using DiscordJS - Moderator Bot    • Let's Build a Discord Bot Using Disco...  

#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!

Комментарии

Информация по комментариям в разработке