$modifyWebhook
Modifies an existing webhook in the current guild with webhook URL.

FUNCTION USAGE

  • $modifyWebhook[URL;name]
  • $modifyWebhook[URL;name;avatar]

Properties:

URL - Define a webhook to modify with it's valid URL. name - The new name of the webhook. avatar - An image URL to change the webhook avatar to.

Example 1: Modify a webhook name

1
bot.Command({
2
name: "test",
3
code: `
4
$modifyWebhook[https://discord.com/api/webhooks/799302441241804843/6oU0A7tHYJUVwwIBZsX9JZnEkV2U8XXSxakvTJnLjNNJ-Pv;TESTING]
5
`
6
})
Copied!

Example 2: Modify a webhook name and avatar.

1
bot.Command({
2
name: "test",
3
code: `
4
$modifyWebhook[https://discord.com/api/webhooks/799302441241804843/6oU0A7tHYJUVwwIBZsX9JZnEkV2U8XXSxakvTJnLjNNJ-Pv;TESTING;https://cdn.discordapp.com/icons/743438202005618747/a_4f7519d9788a86c93580941d9647f40e.gif?size=512]
5
`
6
})
Copied!
Last modified 9mo ago
Copy link
Contents
Properties: