How to Code a Custom Twitch Bot

In this screencast, I will teach you how to make custom bots on Twitch. I will build a custom bot that can send all chat messages to the native OSX notification center. Then I will show you how to make the bot respond to custom text strings that a user types.

Quick, simple, and to the point. AlwaysBotCoding!


Source Code:



  • Moonowl 1 year ago

    Let’s say your friend wants to use your bot
    How do you make a external list of channels that the bot can be on and read from to go to the right channel but not go to the one that has a similar name

  • DeadMan 1 year ago

    man i wish i knew how to code 🙁 I need a macro for a channel 🙂

  • I’mnotgay Gay 1 year ago

    Can you legally sell bots to people? Also, is it actually profitable as a random selling them?

  • Liver Man 1 year ago

    He was copying off another screen you can see he looks there

  • Kavukamari 1 year ago

    it's been about three years now, and it seems like now the bot uses the oauth user's name instead of the assigned nickname… any ideas on how to not do that?

  • Mayraxlh Kempbmc 1 year ago

    You can use botchief to create your custom bot 我甚至不认识Ruby,我非常喜欢这个视频。 谢谢!

  • Moss A 1 year ago

    just for reference from ( section 4.1.3):
    Command: USER

    Parameters: <username> <hostname> <servername> <realname>
    Hope that explains it.

  • Klip ETG 1 year ago

    Loved this it was super helpful, took a bunch of notes. Trying to make a bot focused minigame my chat can partake in and I think this exactly serves for what I need.

  • Charlie CHARLIE 1 year ago

    ty check me out bro and come hang and we talk abut bots

  • AC DG 1 year ago


  • Ronan 1 year ago

    whats the program on the left called?

  • KillerMic67 1 year ago

    osascript is for mac

  • OutraMiha 1 year ago

    hi! can you do this on python3 please?

  • godgutten 1 year ago

    look in the camera

  • BipolarExpedition 1 year ago

    I don't code in Ruby (I stick with Python, C/C++, C#, BASH, BATCH,Lua) and I don't run OSX (Win10 and occaisionally Linux), but I still found this useful. I subscribed and will check out your other content. Good Job.

  • Manoel Bueno 1 year ago

    I don't know Ruby @Shougil and I did understand too LUL this guy is fire! Great teaching skills!

  • Holger Hennecke 1 year ago

    Danke sehr!! 🙂 Your explain is great, thank you!!

  • Shougil 1 year ago

    I don't even know Ruby and I thoroughly enjoyed the video. Thank you!

  • La CreArthur 1 year ago

    Very complete tutorial nicely explained, thanks a lot 🙂

  • Saywolf 1 year ago

    Enjoyed this! Thank you Thank you!!! xDDD

  • zxcz asdz 1 year ago

    Can bot's quit messages also start with «/me» due to twitch syntax?

  • seith jackson 1 year ago

    You can use botchief to create the custom bot

  • Tristan Wolfe 1 year ago

    Love it. You definitely deserve more subs. Keep the quality content rollin 🙂

Comments are closed.