mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
docs: fix streamdispatcher documentation (#2275)
* docs change * fix streamdispatcher documentation Signed-off-by: Michel Nguyen <modzongaming@gmail.com> * fucks sake Signed-off-by: Michel Nguyen <modzongaming@gmail.com> * typings Signed-off-by: Michel Nguyen <modzongaming@gmail.com> * typings again 👀 Signed-off-by: Michel Nguyen <modzongaming@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ nonce.fill(0);
|
|||||||
* // Obtained using:
|
* // Obtained using:
|
||||||
* voiceChannel.join().then(connection => {
|
* voiceChannel.join().then(connection => {
|
||||||
* // You can play a file or a stream here:
|
* // You can play a file or a stream here:
|
||||||
* const dispatcher = connection.playFile('./file.mp3');
|
* const dispatcher = connection.play('/home/hydrabolt/audio.mp3');
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
* @implements {VolumeInterface}
|
* @implements {VolumeInterface}
|
||||||
|
|||||||
Reference in New Issue
Block a user