Interface RoleTags



  • public interface RoleTags
    This class represents a Role Tag.
    • Method Detail

      • getBotId

        Optional<Long> getBotId​()
        Gets the bot id of the role if it belongs to a bot.
        Returns:
        The bot id of the role.
      • getIntegrationId

        Optional<Long> getIntegrationId​()
        Gets the integration id of the role if it belongs to an integration.
        Returns:
        The integration id of the role.
      • isPremiumSubscriptionRole

        boolean isPremiumSubscriptionRole​()
        Whether this role is the premium subscription role.
        Returns:
        If this role is the premium subscription role.