Modify Webhook

This function allows you to modify a webhook's name and avatar using its ID and token.

Usage:

$modifyWebhook[webhookID;webhookToken;name;avatar (optional)]

Parameters:

  • webhookID: The ID of the webhook you want to modify.
  • webhookToken: The token associated with the webhook.
  • name: The new name you want to give the webhook.
  • avatar (optional): The URL of the new avatar for the webhook. If you don't want to change the avatar, you can leave this blank or omit it.

Example

Here's an example of how to use this function:


Function Difficulty: Medium

Tags: modify webhook