Commit Graph

1047 Commits

Author SHA1 Message Date
abalabahaha
d0f2029fa6 Voice state update null check 2016-04-15 18:15:20 -07:00
abalabahaha
9251fd01ce sendFile with content 2016-04-13 10:50:03 -07:00
abalabahaha
ecc35eecda Ratelimiter inconsistency fix 2016-04-13 02:06:18 -07:00
abalabahaha
fc74912a8f Update leaveVoiceChannel docs entry 2016-04-13 01:06:11 -07:00
abalabahaha
3e243a25d3 7.0.0 webdists 2016-04-13 00:50:46 -07:00
abalabahaha
6b189cf3af 7.0.0 7.0.0 2016-04-13 00:47:48 -07:00
abalabahaha
2842b97776 Throw errors on missing voice dependencies 2016-04-13 00:46:13 -07:00
abalabahaha
28fce9ea34 Some docs 2016-04-13 00:38:12 -07:00
abalabahaha
afa5fa1758 Fixes 2016-04-13 00:05:08 -07:00
abalabahaha
b7f20956d7 wait for most servers to be ready 2016-04-12 23:27:44 -07:00
abalabahaha
675ea93bc3 fix the forceFetch fix 2016-04-12 23:07:40 -07:00
abalabahaha
71dd084667 forceFetch fix 2016-04-12 23:01:45 -07:00
abalabahaha
78edc3b371 Merge pull request #266 from Programmix/indev
Voice State Update crash fix (different from other one)
2016-04-10 13:58:37 -07:00
Programmix
afde031267 Update voiceConnections on destroy
Instead of manually removing VoiceConnections from
InternalClient.voiceConnections, just integrate the functionality into
VoiceConnection.destroy()
2016-04-10 13:49:13 -07:00
abalabahaha
b6d1cb88cd Merge pull request #264 from nicholastay/patch-2
Voice State Update crash & small friends property fix
2016-04-10 10:38:47 -07:00
Nicholas Tay
c247a3979b Should be making the self friends stuff null if bot acc 2016-04-11 00:39:14 +10:00
Nicholas Tay
db1435910d Fix for when other users move from different server to another across voice 2016-04-11 00:38:38 +10:00
meew0
bf78c441dd Add a backwards-compatible getter for the first voice connection, thanks @qeled 2016-04-06 15:00:14 +02:00
Aaron Scherer
877eaab3c1 Scope fix for chunk requests during GUILD_CREATE
"scope fix"

* Update InternalClient.js

* Update InternalClient.js
2016-04-06 00:50:56 +02:00
meew0
d53aabefb0 Fix an off by one error in volume transformation range checking 2016-04-05 18:01:49 +02:00
meew0
d48458b80f Add an extra range check to the volume transformer, should hopefully fix #193 2016-04-05 17:33:14 +02:00
abalabahaha
0e54d77025 Merge pull request #251 from nicholastay/multi_voice
Multi voice channel support (new oauth bot accounts and diff servers)
2016-04-05 06:01:45 -07:00
abalabahaha
3a8d4499d0 Merge pull request #250 from aequasi/indev
Adding server update on serverCreated for large servers
2016-04-05 06:01:36 -07:00
Nicholas Tay
5619e97a39 Minor fixes for d/c handler and non-bot accounts 2016-04-05 12:22:50 +10:00
Nicholas Tay
78399a77ae Handle client being moved around as well 2016-04-05 11:42:43 +10:00
Nicholas Tay
a15b8e56c7 Multi voice connections across servers working 2016-04-05 11:28:13 +10:00
Aaron Scherer
30d011c7ac Adding server update on serverCreated for large servers 2016-04-04 17:08:12 -07:00
abalabahaha
cfc1f7f6ae Merge pull request #247 from Lord-Ptolemy/indev
Added mute, unmute, deafen, undeafen
2016-04-03 13:33:14 -07:00
Lord-Ptolemy
040ea21b33 Added mute, unmute, deafen, undeafen 2016-04-03 16:16:15 -04:00
abalabahaha
ad66991f36 Use alternatives to .find() because that's not polyfilled 2016-04-03 04:41:57 -07:00
abalabahaha
b3a65a4ed6 Merge pull request #238 from nicholastay/friends_support
Friends (relationships) support
2016-04-02 03:03:27 -07:00
abalabahaha
2c55a65ddb Merge pull request #245 from hydrabolt/volume-fixes
Volume fixes
2016-04-02 03:02:44 -07:00
meew0
dcd57277cd Made channelDeleted emit for private channels, fixes #243 2016-04-02 11:34:48 +02:00
meew0
c5732efdb1 Make tweetnacl an optional dependency, fixes #244 2016-04-02 11:21:30 +02:00
meew0
8fa3c24b12 Rebuild for volume changes 2016-04-02 11:15:33 +02:00
meew0
3a2c449197 Add a function to set the volume to a decibel value 2016-04-02 11:09:51 +02:00
meew0
910b5a7ae6 Add a function to set the volume in a logarithmic way
so that 0.5 is -10 dB (half the perceived volume) and 2.0 is +10 dB (double the perceived volume).
2016-04-02 11:08:00 +02:00
meew0
e8cc571d6a Make the multiplier return the current volume
without doing any math to it, so we can have different ways to set the multiplier in logarithmic ways.
2016-04-02 11:03:28 +02:00
Nicholas Tay
f591542735 Working friends support with events and requests 2016-03-30 21:01:48 +11:00
abalabahaha
8e6427963b Merge pull request #237 from nicholastay/patch-1
Fixes for bot accounts \o/
2016-03-28 01:13:24 -07:00
Nicholas Tay
77346e3415 Send guild_id on voice destroy for bot accounts to work
(thanks qeled for supplying this fix, as per in the node_discord-js discord chat channel :D)
2016-03-28 19:06:10 +11:00
Nicholas Tay
18dd59fe42 Fix bot detection on updateDetails 2016-03-28 19:04:44 +11:00
abalabahaha
74c06f7a69 Workaround for voice channel update member persistence 2016-03-20 00:32:17 -07:00
abalabahaha
99af4a7d66 Fixed bad wording 2016-03-20 00:05:19 -07:00
abalabahaha
28b7b9f5d6 Wrong variable name, logic fixes, forgot a !, allow neutral permission overwrite 2016-03-19 23:45:38 -07:00
abalabahaha
b069f818d9 Unoverlap allow when denying a permission overwrite 2016-03-19 22:54:49 -07:00
abalabahaha
95748f3721 Merge pull request #229 from brussell98/indev
Added ability to use updateDetails() with token
2016-03-19 22:44:05 -07:00
abalabahaha
3bbd4f46d2 Merge pull request #226 from petoem/indev
Add ability to pause and resume audio thats being played
2016-03-19 22:43:48 -07:00
Brandon Russell
93e3106404 Check if user or bot and require email for user 2016-03-20 00:19:29 -05:00
abalabahaha
703ac05400 User bot property 2016-03-19 22:11:11 -07:00