Add fetch_message for webhooks

This commit is contained in:
Nadir Chowdhury authored and GitHub committed 2021-04-16 11:27:15 -04:00
1 parent b610998491
commit 57dbb37a52
3 files changed
+139 -6

No files matched your search

+13
View File
@@ -1208,6 +1208,19 @@ class HTTPClient:
)
return self.request(r)
def get_original_interaction_response(
self,
application_id,
token,
):
r = Route(
'GET',
'/webhooks/{application_id}/{interaction_token}/messages/@original',
application_id=application_id,
interaction_token=token,
)
return self.request(r)
def edit_original_interaction_response(
self,
application_id,