public VoiceChannelUpdateBitrateEvent(JDA api, long responseNumber, VoiceChannel channel, int oldBitrate) { super(api, responseNumber, channel); this.oldBitrate = oldBitrate; this.newBitrate = channel.getBitrate(); }
int bitRate = voiceChannel.getBitrate() / 1000;