ChatGPT Bot Integration


This extension adds the ability to tie your bot account to ChatGPT. It gives your bot the ability to answer questions directly, and also adds the option to have it randomly interact with your chat.

This extension requires you paying for use of OpenAI. I loaded my account with $10 for testing purposes. In the 2 months since I have been using this (plus other AI features) I have used a total of $0.43

Video Tutorial

Updated to work with Streamer.Bot v0.2.3 and supports multiple platforms.(Excluding GPT Shoutouts, those are still limited to Twitch at this time)

Import Code

Mustached_Maniac (10.4 KB)


Obtaining Your API Key

Head over to OpenAI and Sign in, or create, your account. Then click on API Keys as depicted below, followed by +Create new secret key

On the next window, you can name it whatever you want, or leave it blank. Just click on the Create Secret Key when you’re finished and copy down the Client Secret.

You CANNOT get your Client Secret again, if you fail to copy it down you will have to delete that key from the website and then generate a new one!

Lastly, Click on Settings, Billing, and then Add to Credit Balance. If you do NOT have any credit on your account, this extension will NOT work!!

Setting it Up

In click the Import button in the top menu. Drag the downloaded .sb file into the Import String field and click Import. You will see 4 Actions and 3 Commands (varies from the video due to a recent update)

Once Imported, you need to configure a few things (as shown below):

  • chatGptApiKey Paste your API Key from earlier into this argument

  • behavior Here is where you give your bot some personality, be as descriptive and explicit as you’d like. If you want your bot to talk like a pirate, say it now!

  • chatGptModel This Defaults to 3.5, unless you specifically want to use 4.0 or 4.0Turbo, leave it be!

  • chatbotName Type your bot username here. VERY IMPORTANT this prevents your bot from talking to itself.

  • chatGptReplyProb This is a scale of 0-100%. Set to ‘0’ if you do NOT want your bot randomly replying to things. 100% means that it replies to every message.

Next, head over to the ChatGPT Answers Action and double-click the current trigger.

Click the Create Command button and make whatever command you want (you CAN set the command to be @botname, like in the example).

Final Step

Profitttttttt, have fun with it and give your bot as much personality/backstory as you would like.