Twitch Looking for Bots to Register for Enhancements

#1

Twitch is currently looking for folks to register their bots to help better serve the development community. The extra features are:

  1. Enables a rate limit of 50 messages in 30 seconds
  2. Enables a whisper rate limit of 10 per second, up to 200 per minute; 500 accounts per day
  3. Makes the bot exempt from whispers being dropped for being spam. The spam classifier is still run against these whispers, they may be marked as spam, and their spam status is logged for auditing purposes.

There is a form to fill out, however, you will need to know your bot’s Twitch ID (not the login name, a numerical ID), and we have links below to help you find that - also you MUST have 2FA enabled for the Bot Account, this has tripped up several people.

Again, please note that in order to qualify for this change, you must enable two factor authentication on the bot’s account.

That said, you are not required to register your bot, but, by doing so, you might be able to better serve not only the PhantomBot community but the Twitch bot development community as a whole. If you are having troubles whispering, your bot may have been shadowbanned. Please register your bot to have Twitch check it and see if that is the issue.

Twitch has provided a method for check for the is_known_bot flag to ensure that you have been approved. Use Dakoda- Lookup Users or Get Twitch Bot Status to look up your bot’s Twitch ID and to check the status.

To request known bot status, please fill out the form at Limit Increase | Twitch Developers, as follows:

  • Select IRC Command and Message Rate as the service for which you want to request a limit.
  • Instead of Client ID, enter your bot’s Twitch ID.
  • Enter your bot request as the new limit.

After the form is reviewed, you will be emailed the results, typically within 3 business days.

Thanks!

Phantom bot not responding to all/some whispers
Bot Unable to Send Any Whispers
#2

I can verify that Twitch is in fact verifying bots, as mine is:

{
    "_id":"106842370",
    "login":"illusionarybot",
    "display_name":"IllusionaryBot",
    "color":"",
    "is_verified_bot":true,
    "badges":[]
}

I highly recommend that folks take the time to register their bots with Twitch. I believe they have even simplified the process and show you how to get your ID on the registration page.

EDIT: Per a later post, only certain legacy bots are “verified”, newer bots will be “known” but that is not exposed yet.

#3

What api do you use to check???

#4

You can check the $.is_verified_bot in https://api.twitch.tv/kraken/users/:bot_user_id/chat in kraken v5, for example: https://api.twitch.tv/kraken/users/62809083/chat?api_version=5&client_id=q6batx0epp608isickayubi39itsckt

Replace 62809083 with your bot ID.

#5

Added that api to my lookup user page at https://alixe.pro/lookup/ then people can just use the username no need for id :stuck_out_tongue: thanks for the information <3

#6

You should then use your own Client ID and not the one from Twitch for their registration page…I assume you are using your own?

#7

it is using my own it uses the one for my sign in page for my website

1 Like
#8

You da man!

#9

i like to help the people of phantom bot the best to my ability <3

1 Like
#10

Edited the original post with your link. Thanks for that!

#11

Also adding a lookup to the Twitch API at startup, if the bot is verified:

[08-21-2017 @ 23:42:30.143 MDT] 
[08-21-2017 @ 23:42:30.677 MDT] Bot Verification Status: Verified.
[08-21-2017 @ 23:42:30.703 MDT] Connecting to Twitch WS-IRC Server (SSL) [irc-ws.chat.twitch.tv]

If NOT verified:

[08-21-2017 @ 23:42:30.143 MDT] 
[08-21-2017 @ 23:42:30.677 MDT] Bot Verification Status: NOT Verified.
[08-21-2017 @ 23:42:30.703 MDT] Connecting to Twitch WS-IRC Server (SSL) [irc-ws.chat.twitch.tv]

This check will only happen during startup. It does not affect any behavior in the PhantomBot code, it is simply an information message.

#12

Moved this check to debug only. I was already getting questions from nightly users, I can’t imagine once we push it to stable.

Reasons are in the pull request. https://github.com/PhantomBot/PhantomBot/pull/1636

1 Like
#14

So, this check should probably come out, an update from Xangold:

Please keep in mind that is_verified_bot is NOT the status being applied here. I’ll see if we can expose is_known_bot We have 3 tiers of bots (currently)

Normal user account
Known Bots (which is being applied here)
Verified Bots (legacy, meant for large multi chat bots)

My bot is verified according to the lookup, which isn’t the same, it sounds like, as the bot being “known” by this registration process.

#15

I followed the steps for this back in april and I am a known bot now but I still cannot have the bot send any whispers. Since it appears that bots can no longer become verified does that mean I will never be able to have this bot send whispers?

ETA: A Word

#16

As an update, this is still not a silver bullet for whispers, from Xangold:

All whispers? is_known_bot doesn’t toggle ability to send, but slightly increases rate limits, and prevents some anti-spam controls from applying, but not all. It doesn’t grant the nearly-unlimited rates of verified bots.

So, it seems that whispers still are not really intended to be “bot’d.” At least, that is my opinion based on what is being said there. The bot can still be caught by the spam filter and who knows what other countermeasures Twitch has in place.

1 Like