fetchChannelWebhooks


General

fetchChannelWebhooks returns a list of requested channels webhooks.


Usage

Client:fetchChannelWebhooks(<string> channelId)
Returns: <array> Data

Function returns an array containing Webhook objects.
If there are no webhooks in the guild, this will return an empty table.


Limitations

See discordChannel PATCH.


Example

for name,value in pairs(Client:fetchChannelWebhooks("567855043739516928")) do
	print(name,value)
	for name2,value2 in pairs(value) do
		print(name2,value2)
	end
end

fetchChannelWebhooks.png

Back to top