From 5c5d4831d26de1eba0c5c21c31544f9376adf839 Mon Sep 17 00:00:00 2001 From: chrmatic Date: Tue, 27 Jan 2026 12:32:29 +0000 Subject: [PATCH] updated constant for autoshardedbot --- pomice/pool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pomice/pool.py b/pomice/pool.py index f9cdb05..b7b97ba 100644 --- a/pomice/pool.py +++ b/pomice/pool.py @@ -113,7 +113,7 @@ class Node: self, *, pool: Type[NodePool], - bot: commands.Bot, + bot: commands.Bot | commands.AutoShardedBot, host: str, port: int, password: str, @@ -134,7 +134,7 @@ class Node: if not isinstance(port, int): raise TypeError("Port must be an integer") - self._bot: commands.Bot = bot + self._bot: commands.Bot | commands.AutoShardedBot = bot self._host: str = host self._port: int = port self._pool: Type[NodePool] = pool @@ -1052,7 +1052,7 @@ class NodePool: async def create_node( cls, *, - bot: commands.Bot, + bot: commands.Bot | commands.AutoShardedBot, host: str, port: int, password: str,