mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-04 22:42:21 +00:00
Add fetch_message for webhooks
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user