createChannelWebhook


General

createChannelWebhook creates a new webhook that can send messages in the given channel.


Usage

Client:createChannelWebhook (<string> channelId, <string> name, (string) avatar, (string) reason)
Returns: <Webhook> Webhook


Limitations

See discordChannel PATCH.


Example

print(Client:createChannelWebhook("569166849099694093", "Testing").id)

Back to top