We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3557874 commit fe7fca6Copy full SHA for fe7fca6
discord/message.py
@@ -1156,6 +1156,22 @@ async def edit(
1156
*,
1157
content: Optional[str] = ...,
1158
embed: Optional[Embed] = ...,
1159
+ file: Optional[File] = ...,
1160
+ attachments: List[Attachment] = ...,
1161
+ suppress: bool = ...,
1162
+ delete_after: Optional[float] = ...,
1163
+ allowed_mentions: Optional[AllowedMentions] = ...,
1164
+ view: Optional[View] = ...,
1165
+ ) -> Message:
1166
+ ...
1167
+
1168
+ @overload
1169
+ async def edit(
1170
+ self,
1171
+ *,
1172
+ content: Optional[str] = ...,
1173
+ embed: Optional[Embed] = ...,
1174
+ files: Optional[List[File]] = ...,
1175
attachments: List[Attachment] = ...,
1176
suppress: bool = ...,
1177
delete_after: Optional[float] = ...,
@@ -1170,6 +1186,7 @@ async def edit(
1186
1187
1188
embeds: List[Embed] = ...,
1189
+ file: File = ...,
1190
1191
1192
0 commit comments