diff --git a/bot.py b/bot.py index a362465..f643cf9 100644 --- a/bot.py +++ b/bot.py @@ -1,7 +1,7 @@ from asyncio import new_event_loop from datetime import timedelta from os import environ -from typing import Optional, Union +from typing import List, Optional, Union from disnake import Client, Guild, Member from dotenv import load_dotenv @@ -69,7 +69,7 @@ def make_oauth_session( host_url: str, token: Optional[str] = None, state: Optional[str] = None, - scope: Optional[list[str]] = None, + scope: Optional[List[str]] = None, ) -> OAuth2Session: print(host_url + OAUTH2_REDIRECT_URI) return OAuth2Session(