Commit Graph

108 Commits

Author SHA1 Message Date
Brian Tanner
00e3708e78 add guild sharding support (#393)
* add guild sharding support

* squash if statements
2016-05-31 10:19:15 -07:00
Nicholas Tay
bea1663052 Set bitrate for voice channels support (#363)
* Set bitrate for voice channels

* Docs for bitrate settings and values
2016-05-22 17:53:52 -07:00
Programmix
ab2c9d9a8d VoiceChannel user limit support 2016-05-21 09:50:48 -07:00
abalabahaha
e6572caf6c guildCreateTimeout option 2016-05-16 15:01:50 -07:00
Nicholas Tay
71db8555fe Bulk deletion of messages (#336) (#337) 2016-05-10 09:21:55 -07:00
Brussell
0c38d47ef6 Added support for new game objects (#332)
bot.setStreaming(name, url, type, callback); added
logic for Internal setStatus updated to check if string or object
2016-05-08 09:47:22 -07:00
abalabahaha
e48f2ffae3 Add setNickname docs 2016-04-30 11:58:12 -07:00
abalabahaha
b47540d6eb Testing nickname support 2016-04-29 19:25:06 -07:00
abalabahaha
283c99dee8 Fix weird options comments 2016-04-20 20:12:52 -07:00
abalabahaha
533d49d7d4 Fix potential permissionsOf crash 2016-04-16 23:51:49 -07:00
abalabahaha
9083893d79 7.0.1 2016-04-16 10:49:48 -07:00
abalabahaha
dd71bb9e27 ability to send file via sendMessage 2016-04-15 20:10:30 -07:00
abalabahaha
3ed5f4fb90 Blocked users store, move some warn messages to debug 2016-04-15 19:29:35 -07:00
abalabahaha
864126976f Fix sendFile content 2016-04-15 19:09:14 -07:00
abalabahaha
ecc35eecda Ratelimiter inconsistency fix 2016-04-13 02:06:18 -07:00
abalabahaha
6b189cf3af 7.0.0 2016-04-13 00:47:48 -07:00
meew0
bf78c441dd Add a backwards-compatible getter for the first voice connection, thanks @qeled 2016-04-06 15:00:14 +02:00
Nicholas Tay
a15b8e56c7 Multi voice connections across servers working 2016-04-05 11:28:13 +10:00
Lord-Ptolemy
040ea21b33 Added mute, unmute, deafen, undeafen 2016-04-03 16:16:15 -04:00
Nicholas Tay
f591542735 Working friends support with events and requests 2016-03-30 21:01:48 +11:00
abalabahaha
8614d4b2a5 Less CPU on cache update 2016-03-15 22:04:52 -07:00
abalabahaha
f0dd0cabdf 6.1.0 2016-03-15 22:04:52 -07:00
abalabahaha
d2a9f15e82 Fixed options + message cache limit + server member count + leaving users 2016-03-10 22:16:05 -08:00
abalabahaha
b5c200901b Prepare for upcoming leave/deleteServer separation (fix #198) 2016-03-06 13:14:15 -08:00
abalabahaha
47ecc934f1 Attempting forceFetchUser callback 2016-02-20 18:33:36 -08:00
hydrabolt
315ae22a7f potential server_member_update bugfix? 2016-02-13 21:04:47 +00:00
hydrabolt
7144ead048 docs 6.66% 2016-02-13 18:21:59 +00:00
hydrabolt
54045de5f1 add member chunks 2016-02-12 22:07:56 +00:00
hydrabolt
abde946864 added large_threshold as an option 2016-02-12 21:08:13 +00:00
abalabahaha
cd25848bdc voiceStateUpdate stored per-server, some docs 2016-01-30 14:11:21 -08:00
meew0
634a5bd737 Fix the webdists, this fixes #170.
Particular problems and how they were resolved:
 - The `fs-extra` module, used exclusively by TokenCacher, didn't have a browser version. I rewrote TokenCacher to not use fs-extra (see fdd4cfc7cc)
 - TokenCacher wouldn't work in the browser anyway due to lack of a file system. I made a shim (`Util/TokenCacher-shim.js`) that implements all TokenCacher functionality as null implementations, this causes `login` to always make a request.
 - Compressed packets couldn't be parsed because neither node's Buffers nor zlib were working correctly. Initially I tried to make a browser-only parser class that parses compressed `Blob` packets, but this didn't work out, so I just disabled compression by default.
2016-01-30 14:17:27 +01:00
abalabahaha
ee2172c1d5 memberHasRole, membersWithRole 2016-01-29 17:02:40 -08:00
abalabahaha
be083b717e Merge pull request #168 from hydrabolt/issue/144
Allow moving users to voice channels
2016-01-29 14:04:05 -08:00
meew0
fe9911acc2 Don't require a server for moveMember 2016-01-29 23:03:12 +01:00
abalabahaha
2c6cbb6675 Merge remote-tracking branch 'ntay/sendfile-original-name' into indev 2016-01-24 16:15:28 -08:00
Nicholas Tay
3a8f1ddbf9 Optional sendFile name callback and remove extra logic 2016-01-25 10:35:44 +11:00
meew0
042d7d1dbe Add voice channel moving, not quite working yet 2016-01-24 23:22:24 +01:00
meew0
c5174b4d93 Rebuild lib 2016-01-24 14:38:27 +01:00
Nicholas Tay
47f35a942c Make sendFile() use original file name by default 2016-01-24 21:23:09 +11:00
abalabahaha
68435f0619 Handle unavailable guild, fix default getChannelLogs limit 2016-01-18 17:46:15 -08:00
abalabahaha
fc58a0d5cf Attempting getInvites 2016-01-13 20:32:07 -08:00
meew0
6a09ca76df Builds for the latest changes 2016-01-05 21:29:21 +01:00
abalabahaha
404829a19d Change gameID (Deprecated) to game 2016-01-04 20:46:28 -08:00
abalabahaha
69bffc6279 Finish renaming setChannelTopic 2016-01-04 20:37:15 -08:00
abalabahaha
718f0b9543 Rebuilt lib for dev and getInvite 2016-01-02 18:24:55 -08:00
Amish Shah
9c8e6eed24 5.3.2 web dists 2016-01-01 18:40:57 +00:00
meew0
7860828a5d Rebuild 2015-12-31 22:57:33 +01:00
Amish Shah
b927b223bb 5.3.1 2015-12-26 18:35:08 +00:00
Amish Shah
8d0fc8e0a6 Resilience to abusers of the API
For some reason there's a way to join text channels via the Discord API but not the Discord Client, so this commit
prevents the Client from crashing by checking to see if the channels are voice channels.
2015-12-26 18:32:46 +00:00
Amish Shah
f9f7a568fc 5.3.0 web dists 2015-12-26 18:21:04 +00:00