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)

!geolink https://blabla.com

it’d set the value for !game to be https://blabla.com
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