Commit Graph

7129 Commits

Author SHA1 Message Date
abalabahaha
907f4f4b27 Update readme example to use loginWithToken 2016-04-20 20:16:18 -07:00
abalabahaha
283c99dee8 Fix weird options comments 2016-04-20 20:12:52 -07:00
hydrabolt
b8283a8f29 src/client/websocket/packets/WebSocketPacketManager.js
Unify ready and reconnecting properties into a single status property
and future-proof Message class
The state of the WebSocketManager is now represented by a single
status property, removing emittedReady
and reconnecting as representations of state.
Message class will now also cache users it isn't aware of that appear
in mentions and authors.
2016-04-20 17:45:20 +01:00
hydrabolt
acc9c9bf12 src/client/websocket/packets/WebSocketPacketManager.js
src/structures/datastore/WebSocketManagerDataStore.js
Added "rough" reconnection attempting
The following however still needs to be done:
1) stop trying after a certain amount of time
2) increasing timeout between each timeout
3) re-evaluate the current method of how reconnecting is handled
internally
2016-04-19 20:24:23 +01:00
hydrabolt
da42b422f0 Added Permission evaluation for channels and EvaluatedPermissions class. 2016-04-18 19:31:36 +01:00
hydrabolt
00327a5776 Add MessageUpdate handling 2016-04-18 18:12:57 +01:00
hydrabolt
d437fd31cf MessageDelete handling 2016-04-18 18:06:31 +01:00
hydrabolt
c947e172d6 Add MessageCreate handler, set up Message class and add ability to Cache messages 2016-04-18 17:55:21 +01:00
hydrabolt
7f4751e7c4 add PermissionOverwrites class in preparation for permission evaluation 2016-04-18 17:23:37 +01:00
hydrabolt
c36cc3b551 Added GuildMembersChunk handler; untested 2016-04-18 16:54:14 +01:00
hydrabolt
ce2cf382b3 TypingStart handler 2016-04-18 16:39:57 +01:00
hydrabolt
d1d13f5c85 Added VoiceStateUpdate handler and DataStore for VoiceChannels. Also added toString methods to Guilds, DMChannels, ServerChannels and Users. 2016-04-17 19:12:29 +01:00
hydrabolt
685d7b622c Fix READY bug when logging in with email/password, add UserUpdate packet handler 2016-04-17 18:37:15 +01:00
hydrabolt
abc3f9e2fa Presence tracking 2016-04-17 18:20:57 +01:00
hydrabolt
71a4cd6a93 Added full Role tracking 2016-04-17 15:43:12 +01:00
hydrabolt
bbf7be7dfa Tracking of GUILD_ROLE_CREATE/UPDATE/DELETE events 2016-04-17 15:17:18 +01:00
hydrabolt
4de1f4ce99 Created Role class and permission evaluation within Roles 2016-04-17 15:03:23 +01:00
abalabahaha
533d49d7d4 Fix potential permissionsOf crash 2016-04-16 23:51:49 -07:00
abalabahaha
0d2b504bde Merge pull request #278 from nicholastay/275_friendfix
Friend request remove packet fixes
2016-04-16 23:15:42 -07:00
Nicholas Tay
41ead870b7 Update friend_remove cases (should fix #275) 2016-04-17 16:11:51 +10:00
hydrabolt
30f5e2943a Create Member class, stop storing member data separately and merge into one class with a User 2016-04-16 23:24:52 +01:00
hydrabolt
ccffe09bca remove unused shim object.entries 2016-04-16 23:01:58 +01:00
hydrabolt
9956e43c8e initial 2016-04-16 22:58:49 +01:00
abalabahaha
a3cd539eac no-optional command in README and OAuth invite accepting warning 2016-04-16 10:56:33 -07:00
abalabahaha
9083893d79 7.0.1 7.0.1 2016-04-16 10:49:48 -07:00
abalabahaha
197c416642 Some docs updates 2016-04-16 10:46:17 -07:00
abalabahaha
487f3ea4f4 Sketchy autoreconnect 2016-04-16 10:32:21 -07:00
abalabahaha
0d93ce9fbd Docs update and updateServer option processing 2016-04-16 00:35:36 -07:00
abalabahaha
dd71bb9e27 ability to send file via sendMessage 2016-04-15 20:10:30 -07:00
abalabahaha
5f1e1b989b updateServer with options 2016-04-15 19:30:01 -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
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