fetchChannelInvites

General

fetchChannelInvites fetches all the guild invites that have the same landing channel.


Usage

Client:fetchChannelInvites(<string> channelId)
Returns: <array> data

Data array contains Invite objects inside.
If there are no invites in the channel, this will return an empty table.


Limitations

See discordChannel PATCH.


Example

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

Back to top