Package org.javacord.api.interaction
Interface ServerSlashCommandPermissions
-
public interface ServerSlashCommandPermissions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetApplicationId()Gets the application ID from this server slash command permissions.longgetId()Gets the ID of this server slash command permissions.List<SlashCommandPermissions>getPermissions()Gets the permissions of this server slash command permissions.longgetServerId()Gets the server ID of this server slash command permissions.
-
-
-
Method Detail
-
getId
long getId()
Gets the ID of this server slash command permissions.- Returns:
- The id.
-
getApplicationId
long getApplicationId()
Gets the application ID from this server slash command permissions.- Returns:
- The application id.
-
getServerId
long getServerId()
Gets the server ID of this server slash command permissions.- Returns:
- The server ID.
-
getPermissions
List<SlashCommandPermissions> getPermissions()
Gets the permissions of this server slash command permissions.- Returns:
- A list containing the slash command permissions.
-
-