1
0

fix: role_connection.write

This commit is contained in:
オスカー、 2023-03-22 14:21:29 +00:00 committed by GitHub
parent 22bd767837
commit 9b15c8df8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.py
View File

@ -24,7 +24,7 @@ client = LinkedRolesOAuth2(
client_secret=os.getenv("CLIENT_SECRET"),
redirect_uri=f"{os.getenv('REDIRECT_URI')}/discord",
token=os.getenv("BOT_TOKEN"),
scopes=("identify", "role_connection_write"),
scopes=("identify", "role_connection.write"),
state=os.getenv("COOKIE_SECRET")
)
fn = Fernet(os.getenv("ENCRYPT_KEY"))