File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ async def send(
231
231
"""
232
232
if not self ._client :
233
233
raise AttributeError ("HTTPClient not found!" )
234
- from ...models .component import _build_components
234
+ from ...client . models .component import _build_components
235
235
from .message import Message
236
236
237
237
_content : str = "" if content is MISSING else content
Original file line number Diff line number Diff line change 1
1
from datetime import datetime
2
- from typing import List , Optional , Union
2
+ from typing import List , Optional , Union , Any
3
3
4
- from ...models .command import Permission
5
4
from ...models .component import ActionRow , Button , SelectMenu
6
5
from .channel import Channel , ThreadMember
7
6
from .member import Member
@@ -12,7 +11,7 @@ from .role import Role
12
11
from .user import User
13
12
from .team import Application
14
13
15
- from ..http .http import HTTPClient
14
+ from ..http .client import HTTPClient
16
15
from ...models .command import Permission
17
16
18
17
class ApplicationCommandPermissions (DictSerializerMixin ):
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ async def send(
252
252
"""
253
253
if not self ._client :
254
254
raise AttributeError ("HTTPClient not found!" )
255
- from ...models .component import _build_components
255
+ from ...client . models .component import _build_components
256
256
from .message import Message
257
257
258
258
_content : str = "" if content is MISSING else content
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ async def edit(
380
380
if self .flags == 64 :
381
381
raise Exception ("You cannot edit a hidden message!" )
382
382
383
- from ...models .component import _build_components
383
+ from ...client . models .component import _build_components
384
384
385
385
_content : str = self .content if content is MISSING else content
386
386
_tts : bool = False if tts is MISSING else tts
@@ -462,7 +462,7 @@ async def reply(
462
462
"""
463
463
if not self ._client :
464
464
raise AttributeError ("HTTPClient not found!" )
465
- from ...models .component import _build_components
465
+ from ...client . models .component import _build_components
466
466
467
467
_content : str = "" if content is MISSING else content
468
468
_tts : bool = False if tts is MISSING else tts
Original file line number Diff line number Diff line change 1
1
from typing import Optional
2
2
3
3
from .misc import DictSerializerMixin , Snowflake
4
- from .flags import UserFlags , AppFlags
4
+ from .flags import UserFlags
5
5
6
6
class User (DictSerializerMixin ):
7
7
_json : dict
You can’t perform that action at this time.
0 commit comments