Class RegularServerChannelImpl

    • Field Detail

      • COMPARE_BY_RAW_POSITION

        public static final java.util.Comparator<RegularServerChannel> COMPARE_BY_RAW_POSITION
        Compares channels according to their "position" field and, if those are the same, their id.
    • Constructor Detail

      • RegularServerChannelImpl

        public RegularServerChannelImpl​(DiscordApiImpl api,
                                        ServerImpl server,
                                        com.fasterxml.jackson.databind.JsonNode data)
        Creates a new server channel object.
        Parameters:
        api - The discord api instance.
        server - The server of the channel.
        data - The json data of the channel.