Package org.javacord.api.entity.auditlog
Interface AuditLog
-
public interface AuditLogThe class represents an audit log.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiscordApigetApi()Gets the discord api instance.java.util.List<AuditLogEntry>getEntries()Gets all entries.java.util.Set<User>getInvolvedUsers()Gets all users, which can be found in this audit log.java.util.Set<Webhook>getInvolvedWebhooks()Gets all webhooks, which can be found in this audit log.ServergetServer()Gets the server of the audit log.
-
-
-
Method Detail
-
getApi
DiscordApi getApi()
Gets the discord api instance.- Returns:
- The discord api instance.
-
getServer
Server getServer()
Gets the server of the audit log.- Returns:
- The server of the audit log.
-
getInvolvedWebhooks
java.util.Set<Webhook> getInvolvedWebhooks()
Gets all webhooks, which can be found in this audit log.- Returns:
- All webhooks, which can be found in this audit log.
-
getInvolvedUsers
java.util.Set<User> getInvolvedUsers()
Gets all users, which can be found in this audit log.- Returns:
- All users, which can be found in this audit log.
-
getEntries
java.util.List<AuditLogEntry> getEntries()
Gets all entries.- Returns:
- All entries.
-
-