diff --git a/AutomatiK files/bot.py b/AutomatiK files/bot.py index e71ff93..ce3c67b 100644 --- a/AutomatiK files/bot.py +++ b/AutomatiK files/bot.py @@ -98,7 +98,7 @@ def reload_modules(): class Client(commands.Bot, LangManager, ConfigManager): - VERSION = "v1.3.1" + VERSION = "v1.3.2" def __init__(self, command_prefix, self_bot, intents): commands.Bot.__init__(self, command_prefix=command_prefix, self_bot=self_bot, intents=intents) diff --git a/AutomatiK files/modules/epic.py b/AutomatiK files/modules/epic.py index 181a0e8..9cdb7e9 100644 --- a/AutomatiK files/modules/epic.py +++ b/AutomatiK files/modules/epic.py @@ -24,7 +24,7 @@ def make_request(self): raw_data = json.loads(raw_data.content) # Bytes to json object raw_data = raw_data["data"]["Catalog"]["searchStore"]["elements"] # Cleans the data return raw_data - except (HTTPError, Timeout, requests.exceptions.ConnectionError): + except (HTTPError, Timeout, requests.exceptions.ConnectionError, TypeError): logger.error(f"Request to {self.SERVICE_NAME} by module \'{self.MODULE_ID}\' failed") return False diff --git a/AutomatiK files/modules/humble.py b/AutomatiK files/modules/humble.py index fc4434e..4518a8b 100644 --- a/AutomatiK files/modules/humble.py +++ b/AutomatiK files/modules/humble.py @@ -21,7 +21,7 @@ def make_request(self): raw_data = requests.get(self.ENDPOINT).json() raw_data = raw_data["results"] return raw_data - except (HTTPError, Timeout, requests.exceptions.ConnectionError): + except (HTTPError, Timeout, requests.exceptions.ConnectionError, TypeError): logger.error(f"Request to {self.SERVICE_NAME} by module \'{self.MODULE_ID}\' failed") return False