From 4117a189e610a83ca008b7c6640f139e262fed92 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 12 Sep 2022 18:28:25 +0000 Subject: [PATCH] Remove useless param on make_session --- divent/bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/divent/bot.py b/divent/bot.py index 054d9a8..17b6f49 100644 --- a/divent/bot.py +++ b/divent/bot.py @@ -3,7 +3,7 @@ import logging from datetime import datetime, timedelta from functools import wraps from os import environ, path -from typing import Dict, List, Optional +from typing import Dict, Optional from disnake import Client, Guild from dotenv import load_dotenv @@ -78,9 +78,7 @@ def token_updater(token: str): session["oauth2_token"] = token -def make_session( - token: Optional[Dict[str, str]], state=Optional[str], scope=Optional[List[str]] -) -> OAuth2Session: +def make_session(token: Optional[Dict[str, str]], state=Optional[str]) -> OAuth2Session: return OAuth2Session( client_id=OAUTH2_CLIENT_ID, token=token,