How to edit the channel info with a bot account?

First don’t use someones else token generator.
You should create your own Client ID and manage your own keys

Second, to update a channels title and game you will need an authentication key from the broadcaster as documented here

You will need a key from broadcaster_id with the user:edit:broadcast applied

So you wouldn’t authenticate as the bot you would authenticate as the streamer.