Skip to content

Commit

Permalink
chore: revert to non GW
Browse files Browse the repository at this point in the history
  • Loading branch information
Skelmis committed Jan 6, 2024
1 parent 2a8cead commit c5727a6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion suggestions/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5727a6

Please sign in to comment.