fetchGuildWebhooks


General

fetchGuildWebhooks returns a list of requested guild webhooks.


Usage

Client:fetchChannelWebhooks()
Returns: <array> data

Data array contains Webhook objects inside.
If there are no webhooks in the guild, this will return an empty table.


Limitations

See discordGuild PATCH.


Example

for name,value in pairs(Client:fetchGuildWebhooks()) do
	print(name,value)
	for name2,value2 in pairs(value) do
		print(name2,value2)
	end
end

Back to top