typo in discum.py checkToken function
@@ -104,8 +104,8 @@ class Client:
test token
'''
def checkToken(self, token):
- editedS = imports.Wrapper.editedReqSession(self.s, {"update":{"Authorization":token}})
- connection = User(self.discord, editedS, self.log).info(with_analytics_token=True)
+ editedS = imports.Wrapper().editedReqSession(self.s, {"update":{"Authorization":token}})
+ connection = imports.User(self.discord, editedS, self.log).info(with_analytics_token=True)
if connection.status_code == 200:
Logger.log("Valid token.", None, self.log)
else:
