How to add "users" to your bot?

Hello :smiley:

I went with Firebase for multiple reasons (but for discovery purpose mainly).
I managed to fetch my “streamers” collection when the bot start, I also made a specific account to my bot. I added a route /join an channel and another one /part to make the bot leave a channel and seems to work properly.

I’m just having some trouble to the connection because I get a permission error when I try to ban someone:

[16:58] info: [#carbow] You don't have permission to perform that action.
Error banning azehoss00313: no_permission

I went by the https://twitchtokengenerator.com/ to grab my access_token and select the scope channel:moderate.
I tryied to fetch programmatically my access_token with OAuth client credentials flow but for some reasons I didn’t managed to pass the token to my client yet because of some bugs.

Do I have to use OAuth client credentials flow when bot login ? or can I pass manually the token in an .env file ? Which scope allow me to ban some ppl if it’s not channel:moderate (Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel)?