MCPcopy Create free account
hub / github.com/Botloader/botloader / execute

Method execute

components/runtime/src/ts/discord/webhook.ts:76–82  ·  view source on GitHub ↗
(fields: CreateMessageFields)

Source from the content-addressed store, hash-verified

74 }
75
76 execute(fields: CreateMessageFields) {
77 if (!this.token) {
78 throw new Error("Webhook token is null")
79 }
80
81 return executeWebhook(this.id, this.token, fields)
82 }
83}
84
85export type WebhookType =

Callers 15

webhooks.tsFile · 0.80
upsert_script_derivedMethod · 0.80
del_scriptMethod · 0.80
delete_plugin_imageMethod · 0.80
del_sessionMethod · 0.80
del_all_sessionsMethod · 0.80
del_manyMethod · 0.80
del_task_by_idMethod · 0.80

Calls 1

executeWebhookFunction · 0.90

Tested by

no test coverage detected