@@ -41,8 +41,7 @@ async def get_channel_messages(
41
41
self ,
42
42
channel_id : "Snowflake_Type" ,
43
43
limit : int = 50 ,
44
- ) -> list [discord_typings .MessageData ]:
45
- ...
44
+ ) -> list [discord_typings .MessageData ]: ...
46
45
47
46
@overload
48
47
async def get_channel_messages (
@@ -51,8 +50,7 @@ async def get_channel_messages(
51
50
limit : int = 50 ,
52
51
* ,
53
52
around : "Snowflake_Type | None" = None ,
54
- ) -> list [discord_typings .MessageData ]:
55
- ...
53
+ ) -> list [discord_typings .MessageData ]: ...
56
54
57
55
@overload
58
56
async def get_channel_messages (
@@ -61,8 +59,7 @@ async def get_channel_messages(
61
59
limit : int = 50 ,
62
60
* ,
63
61
before : "Snowflake_Type | None" = None ,
64
- ) -> list [discord_typings .MessageData ]:
65
- ...
62
+ ) -> list [discord_typings .MessageData ]: ...
66
63
67
64
@overload
68
65
async def get_channel_messages (
@@ -71,8 +68,7 @@ async def get_channel_messages(
71
68
limit : int = 50 ,
72
69
* ,
73
70
after : "Snowflake_Type | None" = None ,
74
- ) -> list [discord_typings .MessageData ]:
75
- ...
71
+ ) -> list [discord_typings .MessageData ]: ...
76
72
77
73
async def get_channel_messages (
78
74
self ,
@@ -263,8 +259,7 @@ async def create_channel_invite(
263
259
unique : bool = False ,
264
260
* ,
265
261
reason : str | None = None ,
266
- ) -> discord_typings .InviteData :
267
- ...
262
+ ) -> discord_typings .InviteData : ...
268
263
269
264
@overload
270
265
async def create_channel_invite (
@@ -277,8 +272,7 @@ async def create_channel_invite(
277
272
* ,
278
273
target_user_id : "Snowflake_Type | None" = None ,
279
274
reason : str | None = None ,
280
- ) -> discord_typings .InviteData :
281
- ...
275
+ ) -> discord_typings .InviteData : ...
282
276
283
277
@overload
284
278
async def create_channel_invite (
@@ -291,8 +285,7 @@ async def create_channel_invite(
291
285
* ,
292
286
target_application_id : "Snowflake_Type | None" = None ,
293
287
reason : str | None = None ,
294
- ) -> discord_typings .InviteData :
295
- ...
288
+ ) -> discord_typings .InviteData : ...
296
289
297
290
async def create_channel_invite (
298
291
self ,
@@ -600,6 +593,7 @@ async def create_tag(
600
593
!!! note
601
594
Can either have an `emoji_id` or an `emoji_name`, but not both.
602
595
`emoji_id` is meant for custom emojis, `emoji_name` is meant for unicode emojis.
596
+
603
597
"""
604
598
payload : PAYLOAD_TYPE = {
605
599
"name" : name ,
@@ -635,6 +629,7 @@ async def edit_tag(
635
629
!!! note
636
630
Can either have an `emoji_id` or an `emoji_name`, but not both.
637
631
emoji`_id is meant for custom emojis, `emoji_name` is meant for unicode emojis.
632
+
638
633
"""
639
634
payload : PAYLOAD_TYPE = {
640
635
"name" : name ,
@@ -655,6 +650,7 @@ async def delete_tag(self, channel_id: "Snowflake_Type", tag_id: "Snowflake_Type
655
650
Args:
656
651
channel_id: The ID of the forum channel to delete tag it.
657
652
tag_id: The ID of the tag to delete
653
+
658
654
"""
659
655
result = await self .request (
660
656
Route ("DELETE" , "/channels/{channel_id}/tags/{tag_id}" , channel_id = channel_id , tag_id = tag_id )
0 commit comments