fetchGuildAuditLogs

General

fetchGuildAuditLogs fetches the guild's audit logs.


Usage

Client:fetchGuildAuditLogs()
Returns: <array> data

Data array contains AuditLog objects inside.


Limitations

See discordGuild PATCH.


Example

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

Back to top