mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
18 lines
422 B
JavaScript
18 lines
422 B
JavaScript
const ServerChannel = require('./ServerChannel');
|
|
const VoiceChannelDataStore = require('./datastore/VoiceChannelDataStore');
|
|
|
|
class VoiceChannel extends ServerChannel {
|
|
constructor(guild, data) {
|
|
super(guild, data);
|
|
this.store = new VoiceChannelDataStore();
|
|
}
|
|
|
|
setup(data) {
|
|
super.setup(data);
|
|
this.bitrate = data.bitrate;
|
|
this.userLimit = data.user_limit;
|
|
}
|
|
}
|
|
|
|
module.exports = VoiceChannel;
|