UNPKG

v11-discord.js

Version:

A powerful library for interacting with the Discord API - patched by molo#7947

18 lines (13 loc) 307 B
const Readable = require('stream').Readable; class VoiceReadable extends Readable { constructor() { super(); this._packets = []; this.open = true; } _read() {} // eslint-disable-line no-empty-function _push(d) { if (this.open) this.push(d); } } module.exports = VoiceReadable;