edit


General

edit is a method which lets you edit your webhook's name and avatar.


Usage

Webhook:edit(<string> name, (string) avatarUrl)
Returns: <Webhook> webhook

Using non-URL string in avatar will result in error.


Limitations

Upgrade Type Limit ( per 1s )
STANDARD (0) 1

 


Example

Webhook:edit("Mark", "https://0q0.eu/img/okwo.png")
Back to top