mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
add getWebhook and export the webhook in mod
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user