Class RoleTags

    • Constructor Detail

      • RoleTags

        public RoleTags​(GatewayDiscordClient gateway,
                        discord4j.discordjson.json.RoleTagsData data)
    • Method Detail

      • getData

        public discord4j.discordjson.json.RoleTagsData getData()
        Gets the data of the role tags.
        Returns:
        The data of the role tags.
      • getBotId

        public Optional<Snowflake> getBotId()
        Gets the id of the bot this role belongs to, if present.
        Returns:
        The id of the bot this role belongs to, if present.
      • getIntegrationId

        public Optional<Snowflake> getIntegrationId()
        Gets the id of the integration this role belongs to, if present.
        Returns:
        The id of the integration this role belongs to, if present.
      • isPremiumSubscriberRole

        public boolean isPremiumSubscriberRole()
        Gets whether this is the guild's premium subscriber role.
        Returns:
        Whether this is the guild's premium subscriber role.