Th3Gavst3r

Results 6 comments of Th3Gavst3r

I did have the voice channel set, which is how the bot joins the chat when you run `play` with no arguments. I forgot to include that step in the...

Oh I see the different behavior with `setvc` enabled now. However, `setvc` is also unwanted behavior. When I start the bot, I want it to only start playing when a...

I ran into this problem too. It happens because the `authClient` automatically exchanges both your `access_token` and `refresh_token` when you don't construct it with a value for `expires_at`. [See here](https://github.com/twitterdev/twitter-api-typescript-sdk/blob/0d12a20a76d6dd9c346decf9cc80bc611975d43f/src/OAuth2User.ts#L273)....

I don't know the specifics about Next.js, but I decided to store mine in an encrypted session cookie. You just have to make sure your cross-request state is kept up...

I didn't set the token every time because if you do (and don't provide a value for `expires_at`) you'll be unnecessarily sending token refresh requests on every API call. Once...

Essentially, I just created a class that takes an `authClient` and `tokenCallback` as constructor parameters. Then I re-exposed the endpoint functions I needed for my app and ran the `tokenCallback`...