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(
503
503
try :
504
504
res = await self ._client .edit_interaction_response (
505
505
token = self .token ,
506
- application_id = str (self .id ),
506
+ application_id = str (self .application_id ),
507
507
data = payload ,
508
508
files = files ,
509
509
message_id = self .message .id
@@ -624,13 +624,13 @@ async def delete(self) -> None:
624
624
"""
625
625
if self .responded and self .message is not None :
626
626
await self ._client .delete_interaction_response (
627
- application_id = int (self .application_id ),
627
+ application_id = str (self .application_id ),
628
628
token = self .token ,
629
629
message_id = int (self .message .id ),
630
630
)
631
631
else :
632
632
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
634
634
)
635
635
636
636
self .message = None
You can’t perform that action at this time.
0 commit comments