How to find out if message author is the channel host

I wanna make a bot for a friend, who plays geoguessr with chat. I wanna make it so if they’d type (for example)


it’d set the value for !game to be
Because geoguessr uses different links for different games.

How to find out if the author of !geolink is the channel host(The person streaming)?

Option 1) Check the tags and see if the user has the broadcaster badge

Option 2) are the username sending the mesage the same as the room name.

Apply that logic to whatever you are writing the bot in and if you are using a library the library will easily surface this information

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.