Commit Graph

1674 Commits

Author SHA1 Message Date
abalabahaha
2a1d516a28 Update lastMessageID 2016-05-08 00:23:52 -07:00
abalabahaha
68c1e122c0 Revise member property handling 2016-05-08 00:21:36 -07:00
abalabahaha
af333ef4cc Some fixes 2016-05-08 00:16:20 -07:00
abalabahaha
963b22e6ce Fix #331 2016-05-08 00:09:58 -07:00
abalabahaha
726c0e9ed5 Fix setting own nick 2016-05-08 00:03:29 -07:00
hydrabolt
fb49ad7d93 Fix Message Sending and Support New Features. The library now supports
all the game streaming and URL stuff and is fixed for roles #328

src/client/websocket/packets/handlers/PresenceUpdate.js
2016-05-07 15:35:42 +01:00
abalabahaha
2eca16dee6 Consistently rename selfMute/selfDeaf 2016-05-04 19:55:19 -07:00
Manuel Kraus
46bcd3f5e3 Add nickname permission constants (#320)
* Add nickname permission constants

* typo

* Remove manageNickname
2016-05-04 16:57:52 -07:00
hydrabolt
bc443df11d Added DM support, DM Creation and DM Deletion 2016-05-03 17:50:33 +01:00
hydrabolt
ab17375248 Added GuildUpdate handling, and setting guilds details 2016-05-03 16:42:38 +01:00
abalabahaha
9700f8577b roles have positions too 2016-05-02 17:44:22 -07:00
Manuel Kraus
ad84aa84b8 Some doc fixes (#315)
#docs_client.rst:
- 257: Add proper eplanation of callback, like in every other method
- 433: Fix linking for Invite Resolvable

#docs_message.rst:
- 90 : Replace ':' with '-', just for consistency with the others

#docs_resolvables.rst:
- 92 : String doesn't link to anything (?) -> Link removed

#docs_servers.rst:
- 109 : Properly indent code-block because it didn't show at all on rtfd

#docs_serverchannel.rst:
- 53 : Remove doulbe '`' causing it not to display properly

#docs_voiceconnection.rst:
- 67 : Remove 'currently, it currently

#docs_voiceconnection.rst:
- 32 : Add links for Role Resolvable, as used in client#addMemberToRole,
client#removeMemberFromRole and client#memberHasRole
2016-05-02 13:05:09 -07:00
hydrabolt
82ac3d1c44 Remove TODO list, now tracked by issue #313 2016-05-02 13:07:55 +01:00
hydrabolt
a0418a2551 update TODO list whoops 2016-05-01 21:14:23 +01:00
hydrabolt
ebfc2169d5 Added ClientUser modification support 2016-05-01 21:12:42 +01:00
abalabahaha
5125407151 Fix some incorrect docs references 2016-05-01 10:17:16 -07:00
hydrabolt
f95c588d87 Added Guild Deletion 2016-05-01 14:51:46 +01:00
abalabahaha
ba82722264 Document awaitResponse 2016-04-30 17:25:28 -07:00
abalabahaha
96ed5a1e52 Clarify joining server with OAuth bots 2016-04-30 13:35:05 -07:00
abalabahaha
1f5002ae41 Nickname mention detecting, channel and role mentions in cleanContent 2016-04-30 13:01:06 -07:00
abalabahaha
e48f2ffae3 Add setNickname docs 2016-04-30 11:58:12 -07:00
hydrabolt
3a0426482e update TODO list 2016-04-30 18:27:34 +01:00
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