Class VoiceChannelUpdateUserLimitEvent

    • Constructor Detail

      • VoiceChannelUpdateUserLimitEvent

        public VoiceChannelUpdateUserLimitEvent​(@Nonnull
                                                JDA api,
                                                long responseNumber,
                                                @Nonnull
                                                VoiceChannel channel,
                                                int oldUserLimit)
    • Method Detail

      • getOldUserLimit

        public int getOldUserLimit()
        The old userlimit
        Returns:
        The old userlimit, or 0 if there is no limit set.
      • getNewUserLimit

        public int getNewUserLimit()
        The new userlimit
        Returns:
        The new userlimit, or 0 if there is no limit set.