add getWebhook and export the webhook in mod

This commit is contained in:
Skillz
2020-08-28 17:02:13 -04:00
parent 44fafa13bd
commit 4f3e2214df
4 changed files with 7 additions and 1 deletions
+4
View File
@@ -100,3 +100,7 @@ export async function executeWebhook(
return createMessage(result as MessageCreateOptions);
}
export function getWebhook(webhookID: string) {
return RequestManager.get(endpoints.WEBHOOK_ID(webhookID))
}