@@ -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 ,
@@ -598,6 +591,7 @@ async def create_tag(
598
591
!!! note
599
592
Can either have an `emoji_id` or an `emoji_name`, but not both.
600
593
`emoji_id` is meant for custom emojis, `emoji_name` is meant for unicode emojis.
594
+
601
595
"""
602
596
payload : PAYLOAD_TYPE = {
603
597
"name" : name ,
@@ -632,6 +626,7 @@ async def edit_tag(
632
626
!!! note
633
627
Can either have an `emoji_id` or an `emoji_name`, but not both.
634
628
emoji`_id is meant for custom emojis, `emoji_name` is meant for unicode emojis.
629
+
635
630
"""
636
631
payload : PAYLOAD_TYPE = {
637
632
"name" : name ,
@@ -652,6 +647,7 @@ async def delete_tag(self, channel_id: "Snowflake_Type", tag_id: "Snowflake_Type
652
647
Args:
653
648
channel_id: The ID of the forum channel to delete tag it.
654
649
tag_id: The ID of the tag to delete
650
+
655
651
"""
656
652
result = await self .request (
657
653
Route ("DELETE" , "/channels/{channel_id}/tags/{tag_id}" , channel_id = channel_id , tag_id = tag_id )
0 commit comments