fetchAuditLogs method
Returns Audit logs. https://discordapp.com/developers/docs/resources/audit-log
var logs = await guild.getAuditLogs(actionType: 1);
Implementation
Future<AuditLog> fetchAuditLogs({Snowflake? userId, int? actionType, Snowflake? before, int? limit}) =>
client.httpEndpoints.fetchAuditLogs(this.id, userId: userId, actionType: actionType, before: before, limit: limit);