From c5727a6658c8f2dd5f1daf631fb9cd7e2a75bf1f Mon Sep 17 00:00:00 2001 From: skelmis Date: Sat, 6 Jan 2024 17:50:49 +1300 Subject: [PATCH] chore: revert to non GW --- main.py | 20 ++++++++++---------- suggestions/bot.py | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/main.py b/main.py index d18e928..435e926 100644 --- a/main.py +++ b/main.py @@ -18,16 +18,16 @@ ) # logging.getLogger("asyncio").setLevel(logging.DEBUG) -# disnake_logger = logging.getLogger("disnake") -# disnake_logger.setLevel(logging.INFO) -# gateway_logger = logging.getLogger("disnake.gateway") -# gateway_logger.setLevel(logging.WARNING) -# client_logger = logging.getLogger("disnake.client") -# client_logger.setLevel(logging.WARNING) -# http_logger = logging.getLogger("disnake.http") -# http_logger.setLevel(logging.WARNING) -# shard_logger = logging.getLogger("disnake.shard") -# shard_logger.setLevel(logging.WARNING) +disnake_logger = logging.getLogger("disnake") +disnake_logger.setLevel(logging.INFO) +gateway_logger = logging.getLogger("disnake.gateway") +gateway_logger.setLevel(logging.WARNING) +client_logger = logging.getLogger("disnake.client") +client_logger.setLevel(logging.WARNING) +http_logger = logging.getLogger("disnake.http") +http_logger.setLevel(logging.WARNING) +shard_logger = logging.getLogger("disnake.shard") +shard_logger.setLevel(logging.WARNING) suggestions_logger = logging.getLogger("suggestions") suggestions_logger.setLevel(logging.DEBUG) diff --git a/suggestions/bot.py b/suggestions/bot.py index d1e1c70..d7b14ab 100644 --- a/suggestions/bot.py +++ b/suggestions/bot.py @@ -103,7 +103,7 @@ def __init__(self, *args, **kwargs): name="suggestions", type=disnake.ActivityType.watching, ), - gateway_params=GatewayParams(zlib=False), + # gateway_params=GatewayParams(zlib=False), ) self._has_dispatched_initial_ready: bool = False