webhok
Version:
An under-maintenance webhook client for discord to assist you into sending requests to webhooks.
14 lines (13 loc) • 497 B
TypeScript
import { Options, webhookOptions, webhookExecution } from "./types";
interface webhookController {
readonly options: Options;
executeWebhook: (url: string, data: webhookOptions) => Promise<webhookExecution>;
}
export declare namespace webhookClient {
class WebhookController implements webhookController {
readonly options: Options;
constructor(options: Options);
executeWebhook(url: string, data: webhookOptions): Promise<webhookExecution>;
}
}
export {};