File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ async def edit(
503503 try :
504504 res = await self ._client .edit_interaction_response (
505505 token = self .token ,
506- application_id = str (self .id ),
506+ application_id = str (self .application_id ),
507507 data = payload ,
508508 files = files ,
509509 message_id = self .message .id
@@ -624,13 +624,13 @@ async def delete(self) -> None:
624624 """
625625 if self .responded and self .message is not None :
626626 await self ._client .delete_interaction_response (
627- application_id = int (self .application_id ),
627+ application_id = str (self .application_id ),
628628 token = self .token ,
629629 message_id = int (self .message .id ),
630630 )
631631 else :
632632 await self ._client .delete_interaction_response (
633- application_id = int (self .application_id ), token = self .token
633+ application_id = str (self .application_id ), token = self .token
634634 )
635635
636636 self .message = None
You can’t perform that action at this time.
0 commit comments