Fix List from Python 3.8
This commit is contained in:
parent
70b5ae1da8
commit
832c2139a5
4
bot.py
4
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(
|
||||
|
Loading…
Reference in New Issue
Block a user