Commit Graph

3902 Commits

Author SHA1 Message Date
hydrabolt
90cf787759 I think I got ChannelUpdate working?? 2016-04-30 18:22:09 +01:00
abalabahaha
249b6f919a Null unset nicks 2016-04-29 19:37:15 -07:00
abalabahaha
b47540d6eb Testing nickname support 2016-04-29 19:25:06 -07:00
hydrabolt
2341c83638 Added channel.delete() 2016-04-27 16:25:57 +01:00
meew0
68e1549361 Fix the updateServer documentation 2016-04-27 16:36:34 +02:00
hydrabolt
b436fac5c4 Fix presence update bug (#297) 2016-04-26 17:46:34 +01:00
hydrabolt
2d3116d505 Added guild.createChannel(name, type) 2016-04-26 17:44:42 +01:00
hydrabolt
e9d7dfaee3 Added message.edit(content) 2016-04-24 17:30:58 +01:00
hydrabolt
618d8bb957 Simplified client.rest.methods.DeleteMessage, now only takes a message instead of a channel and a message. 2016-04-24 16:41:23 +01:00
hydrabolt
1676a5e73f Bridged WebSocket Events and REST Requests. Now REST Requests will respond exactly like WS Events to data 2016-04-24 16:30:58 +01:00
Manuel Kraus
9322c0bbd7 Fix Constants changes (#293) 2016-04-23 21:18:25 -07:00
abalabahaha
619139f871 Fix starting PMs 2016-04-23 10:15:29 -07:00
Bruno Moreira
a5517c2c3b Fix obligatory content on sendFile (#292) 2016-04-23 09:32:15 -07:00
abalabahaha
68a21ee679 Potentially fix autoReconnect without internet 2016-04-22 18:14:47 -07:00
abalabahaha
ad338c6a29 Fix logout + autoReconnect loop 2016-04-22 18:07:58 -07:00
abalabahaha
d18fcdbeea Merge pull request #290 from BrunoMoreira991/indev
Fix use of Array as String Resolvable on sendFile with content
2016-04-22 17:52:22 -07:00
abalabahaha
ca251423ea Blank the browser property 2016-04-21 23:41:13 -07:00
BrunoMoreira991
6f466a401e Fix use of Array as String Resolvable on sendFile with content 2016-04-22 01:27:23 +01:00
hydrabolt
c42e303b7b Add Message Deletion via message.delete() 2016-04-21 18:50:46 +01:00
hydrabolt
a2841f285c Add TODO list 2016-04-21 18:40:26 +01:00
hydrabolt
03caddb4b5 Add Rate Limiting, see hammerandchisel/discord-api-docs#20 2016-04-21 18:24:08 +01:00
hydrabolt
f3e1760538 add channel.sendMessage and channel.sendTTSMessage 2016-04-21 17:42:52 +01:00
abalabahaha
b6842d3e07 Make client.user.game use the proper format 2016-04-20 20:18:25 -07:00
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