Commit Graph

92 Commits

Author SHA1 Message Date
abalabahaha
28fce9ea34 Some docs 2016-04-13 00:38:12 -07:00
abalabahaha
ad66991f36 Use alternatives to .find() because that's not polyfilled 2016-04-03 04:41:57 -07:00
abalabahaha
99af4a7d66 Fixed bad wording 2016-03-20 00:05:19 -07:00
abalabahaha
703ac05400 User bot property 2016-03-19 22:11:11 -07:00
abalabahaha
5e64d96272 Attempted assorted fixes 2016-03-12 21:44:07 -08:00
abalabahaha
d2a9f15e82 Fixed options + message cache limit + server member count + leaving users 2016-03-10 22:16:05 -08:00
abalabahaha
538df5f76b memberMap on guild chunks, fire voice channel changes (fix #177) 2016-03-06 04:51:21 -08:00
abalabahaha
beb44b7bfa large_threshold vs offline server owner vs ServerChannel.permissionsOf 2016-02-23 09:01:04 -08:00
abalabahaha
0ec5d3e8d7 Empty array instead of undefined 2016-02-20 19:30:50 -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
bd187540d3 4.3% coverage 2016-02-13 15:11:27 +00:00
abalabahaha
9fc5a752f8 colorAsHex should return hex (fixes #188) 2016-02-11 10:30:06 -08:00
abalabahaha
b7c1b6ebe6 Simulate channel structure if user's voice channel was not found 2016-02-01 17:26:29 -08:00
abalabahaha
cd25848bdc voiceStateUpdate stored per-server, some docs 2016-01-30 14:11:21 -08:00
abalabahaha
46807bf1c1 Fix unduplicated mentions 2016-01-30 13:16:18 -08:00
abalabahaha
7fb39b6dc0 Fixed isMentioned 2016-01-30 01:28:58 -08:00
abalabahaha
e3173d1561 In-order + duplicate mentions, cleanContent in Messages 2016-01-29 22:05:01 -08:00
abalabahaha
6af71bf639 The beginnings of the voiceUserStateChange event 2016-01-29 17:46:46 -08:00
abalabahaha
ee2172c1d5 memberHasRole, membersWithRole 2016-01-29 17:02:40 -08:00
abalabahaha
79039f08a1 Fixing server updates 2016-01-25 00:34:16 -08:00
abalabahaha
2c17eaed02 Fix login, clone objects when firing x-Updated events 2016-01-24 16:41:35 -08:00
abalabahaha
68435f0619 Handle unavailable guild, fix default getChannelLogs limit 2016-01-18 17:46:15 -08:00
abalabahaha
94f067cc51 Check if parts of server data exist 2016-01-16 17:09:25 -08:00
meew0
4184e51ec3 Compare game objects before comparing their names
See also http://git.io/vuR7p
2016-01-05 20:33:55 +01:00
abalabahaha
404829a19d Change gameID (Deprecated) to game 2016-01-04 20:46:28 -08:00
abalabahaha
2a00064646 Validate invite if possible 2016-01-03 11:14:17 -08:00
abalabahaha
718f0b9543 Rebuilt lib for dev and getInvite 2016-01-02 18:24:55 -08:00
Amish Shah
2000b62b36 fixed references to update items 2016-01-01 18:27: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
8e16abee96 Fixed server.detailsOf(user)
Now points to correct function
2015-12-26 18:16:42 +00:00
Amish Shah
3b7c5aa96a Rename voiceconnection.speaking to voiceconnection.memberd 2015-12-26 18:05:31 +00:00
Amish Shah
0113202c2f Fixed voice_connection.stopPlaying
Now unpipes before destroying
2015-12-26 17:52:20 +00:00
Amish Shah
9d97dfc95a Voice States in READY packet now processed
Now there is full watching and coverage of voice states
2015-12-26 15:54:45 +00:00
Amish Shah
9c0e20947c Added websocket voice state watching
Now emits voiceJoin(user, voice_channel) or voiceLeave(user, voice_channel) and adds/removes from voice_channel.speaking when a user joins or leaves a voice channel.
2015-12-26 15:38:53 +00:00
Amish Shah
7b2f4e3357 Added Cache 2015-12-26 15:12:58 +00:00
Amish Shah
c9c1b19968 Fixed message.isMentioned 2015-12-12 21:37:34 +00:00
qeled
a369ef2788 Improve Cache class performance
Use hashmap instead of array for caching by discriminator

Optimize `get` method by using `for` loop instead of `forEach`
and returning hashmap cache for queries by discriminator
2015-12-10 02:26:30 +03:00
Amish Shah
ff7adf1cf7 basic speed improvement - eats more memory 2015-12-06 20:53:23 +00:00
abalabahaha
2157e0b682 Saddening typo 2015-12-05 16:56:53 -08:00
abalabahaha
50646503cd Merge remote-tracking branch 'upstream/indev' into indev 2015-12-05 10:31:29 -08:00
abalabahaha
ccc794229e setChannelPosition 2015-12-05 10:29:12 -08:00
Amish Shah
1d8905d25a Finalised server documentation
I think
2015-12-05 18:17:01 +00:00
abalabahaha
a89938ed01 setChannelTopic, not setTopic 2015-12-05 10:04:00 -08:00
abalabahaha
e92e087aeb Fixed stupid weird code 2015-12-05 09:59:25 -08:00
abalabahaha
559ed5f76f More shortcuts 2015-12-05 09:43:11 -08:00
Amish Shah
eb500ecd24 Added startTyping stopTyping and createChannel 2015-12-05 17:21:32 +00:00
Amish Shah
10442e5634 Added getLogs 2015-12-05 17:12:15 +00:00
Amish Shah
212c672c2f Added sendFile and server.generalChannel 2015-12-05 17:10:48 +00:00