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.List<AuditLogEntry>getEntries()Gets a list with all entries.Collection<User>getInvolvedUsers()Gets a collection with all users, which can be found in this audit log.Collection<Webhook>getInvolvedWebhooks()Gets a collection with 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
Collection<Webhook> getInvolvedWebhooks()
Gets a collection with all webhooks, which can be found in this audit log.- Returns:
- A collection with all webhooks, which can be found in this audit log.
-
getInvolvedUsers
Collection<User> getInvolvedUsers()
Gets a collection with all users, which can be found in this audit log.- Returns:
- A collection with all users, which can be found in this audit log.
-
getEntries
List<AuditLogEntry> getEntries()
Gets a list with all entries.- Returns:
- A list with all entries.
-
-