Account for bot

Hi, I need to get rights from a streamer so that my bot can change the title, etc. I create a link so that the streamer can confirm the rights in it, I get the code parameter from the link, but when I try to execute a command through the bot, they occur through the streamer’s account, not the bot’s. How can I fix this? When creating a link, I enter the client id and secret id of my bot, the streamer’s account is not involved?
i get it:

but i need it:

The reason you’re sending messages as the streamer, is because you’re using their OAuth token.

If you want to send commands as the bot, you need the bot account to go through the OAuth process to get an Access Token with permissions to send chat messages as the bot, and you’d use that token to do so rather than the streamers.

I enter the client id and secret id of my bot,

Users don’t have client id’s or secrets, Applications do. What account created the app doesn’t matter at all, all that matters is what account went through the OAuth process of that app.

Okey, but how can i get rights for a bot to change stream configuration?

For anything that explicitly requires the Broadcasters token, your app would use that broadcasters token for making the request. For things that can be done with a moderators token, you could use your bots token. You can’t do everything with just 1 token.