mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Remove token validate
This commit is contained in:
@@ -25,8 +25,7 @@ async def authorize(auto_refresh_auth: bool = False) -> Twitch:
|
|||||||
await twitch.set_user_authentication(
|
await twitch.set_user_authentication(
|
||||||
token,
|
token,
|
||||||
SCOPES,
|
SCOPES,
|
||||||
refresh_token=refresh_token if auto_refresh_auth else None,
|
refresh_token=refresh_token if auto_refresh_auth else None
|
||||||
validate=True
|
|
||||||
)
|
)
|
||||||
|
|
||||||
await twitch.authenticate_app(SCOPES)
|
await twitch.authenticate_app(SCOPES)
|
||||||
|
|||||||
Reference in New Issue
Block a user