From ffce5b6a9d4356a14fa6e18b055485a432038b9e Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Fri, 20 Nov 2015 22:04:19 +0000 Subject: [PATCH] Added voiceConnection --- docs/docs_voiceconnection.rst | 27 +++++++++++++++++++++++++++ docs/index.rst | 1 + docs/vars.rst | 1 + 3 files changed, 29 insertions(+) create mode 100644 docs/docs_voiceconnection.rst diff --git a/docs/docs_voiceconnection.rst b/docs/docs_voiceconnection.rst new file mode 100644 index 000000000..40a48f936 --- /dev/null +++ b/docs/docs_voiceconnection.rst @@ -0,0 +1,27 @@ +.. include:: ./vars.rst + +VoiceConnection +=============== + +**Warning! Still experimental!** + +As of discord.js v5.0.0, voice support has been added. This means you can stream audio but not yet receive. + +--------- + +Attributes +---------- + +--------- + +voiceChannel +------------ + +VoiceChannel_ that the connection is for + +client +------ + +Client_ the connection belongs to + +more docs coming soon :O \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 893675644..5d0209e92 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -34,6 +34,7 @@ Contents: docs_serverchannel docs_textchannel docs_voicechannel + docs_voiceconnection .. toctree:: :maxdepth: 1 diff --git a/docs/vars.rst b/docs/vars.rst index 6f4c9613e..7fa35a9f6 100644 --- a/docs/vars.rst +++ b/docs/vars.rst @@ -15,6 +15,7 @@ .. _PermissionOverwrite : ./docs_permissionoverwrite.html .. _Permission Constants : ./docs_permissionconstants.html .. _Resolvables : ./docs_resolvables.html +.. _VoiceConnection : ./docs_voiceconnection.html .. _Promises : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise .. _EventEmitter : https://nodejs.org/api/events.html#events_class_events_eventemitter .. _Channel Resolvable : http://discordjs.readthedocs.org/en/rewrite-docs/docs_resolvables.html#channel-resolvable