RestCord logo RestCord

executeGithubCompatibleWebhook

$client->webhook->executeGithubCompatibleWebhook($parameters);

Description

Add a new webhook to your GitHub repo (in the repo's settings), and use this endpoint as the "Payload URL." You can choose what events your Discord channel receives by choosing the "Let me select individual events" option and selecting individual events for the new webhook you're configuring.

Parameters

Name Type Required Default
webhook.id snowflake true null
webhook.token string true null
wait boolean false null

Response

Possibly No Response