Skip to content

Commit 7a2ed8f

Browse files
committed
fix: bad bot client import
1 parent c54a35c commit 7a2ed8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

interactions/api/gateway/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
from aiohttp.http import WS_CLOSED_MESSAGE, WS_CLOSING_MESSAGE
2121

2222
from ...base import get_logger
23+
from ...client.enums import InteractionType, OptionType
2324
from ...client.models import Option
2425
from ..dispatch import Listener
25-
from ..enums import InteractionType, OpCodeType, OptionType
26+
from ..enums import OpCodeType
2627
from ..error import GatewayException
2728
from ..http.client import HTTPClient
2829
from ..models.flags import Intents

interactions/client/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from ..api.cache import Cache
1313
from ..api.cache import Item as Build
1414
from ..api.error import InteractionException, JSONException
15-
from ..api.gateway import WebSocketClient
15+
from ..api.gateway.client import WebSocketClient
1616
from ..api.http.client import HTTPClient
1717
from ..api.models.flags import Intents
1818
from ..api.models.guild import Guild

0 commit comments

Comments
 (0)