Commit Graph

105 Commits

Author SHA1 Message Date
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
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
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
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
7144ead048 docs 6.66% 2016-02-13 18:21:59 +00:00
hydrabolt
4e03c0b1a2 docs 5.59% 2016-02-13 15:53:01 +00:00
hydrabolt
bd187540d3 4.3% coverage 2016-02-13 15:11:27 +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
3caf1f74cc Allow tokens to be used for login, fixes #159 2016-01-24 14:33:39 +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
meew0
345d0da72b Merge branch 'CKing-patch-3' into indev 2016-01-16 16:00:05 +01:00
Ch. König
8571723ec1 Make destroy return a promise 2016-01-16 15:22:01 +01:00
abalabahaha
fc58a0d5cf Attempting getInvites 2016-01-13 20:32:07 -08:00
meew0
f51fecf726 Fix parameter callback checks not setting default arguments
The `typeof X === "function"` checks to check whether the callback replaces any default arguments didn't set the default arguments afterwards, so internal functions would sometimes get called with the wrong attributes. This is now fixed.
2016-01-05 21:27:58 +01:00
meew0
fee5cade9e Client wrapper for updateServer 2016-01-05 21:23:00 +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
meew0
9325e1fbb5 Fix parentheses typo in setPlayingGame args list 2015-12-31 20:29:15 +01:00
meew0
ea3ac96f13 Fix some very minor inconsistencies 2015-12-31 20:23:30 +01:00
meew0
9cfd287020 Replace awaitResponse on-the-fly callback with dataCallback
I overlooked it previously.
2015-12-31 20:21:59 +01:00
meew0
385da190ba Give the setPlayingGame callback a default value
to be consistent with other functions.
2015-12-31 20:21:03 +01:00
meew0
f018ccebed Add a callback to setPlayingGame 2015-12-31 20:20:36 +01:00
meew0
2c565ebfaf Call the callback in destroy, its callback was previously unused 2015-12-31 20:20:17 +01:00
meew0
a0ffbdb208 Replace on-the-fly callbacks with dataCallback everywhere
Also fixes various code-style and comment issues I've noticed.
2015-12-31 20:19:25 +01:00
meew0
d668ec8632 Use dataCallback for banMember, unbanMember and kickMember.
Fixes #112, #113 and #114.
2015-12-31 20:09:25 +01:00
meew0
ba93a6e224 Rename constructErrorCallback to errorCallback
to be more consistent with dataCallback.
2015-12-31 19:09:02 +01:00
meew0
f50c910af3 Create a utility function to wrap those on-the-fly callbacks 2015-12-31 19:08:28 +01:00