Amish Shah
dd9c291508
Add reaction fetching of users
2016-10-27 16:58:06 +01:00
Amish Shah
81059885a2
Start work on adding reaction support
2016-10-27 15:22:42 +01:00
Amish Shah
1a3ea65abd
fix some shard stuff on linux
2016-10-26 20:15:56 +01:00
Amish Shah
7d04863b66
Revert "fix Client.destroy bugs" ( #839 )
2016-10-26 17:30:18 +01:00
isonmad
e9fa8a438c
fix Client.destroy bugs ( #828 )
...
* add test for Client.destroy()
* propagate errors in ClientManager.destroy
If the promise returned by logout() rejects, previously
it would be completely uncaught, and just return an
eternally pending promise that never resolved.
* fix RESTMethods.logout
Without a data argument, the POST that superagent sends causes
the discord server to reply with a HTTP 400 error:
text: '{"Content-Type": "Expected Content-Type to be one of set([\'application/json\'])."}',
* fix Client.destroy
_timeouts and _intervals were changed to Set objects in
commit 6ede7a32fd a month ago.
Changing them to arrays causes failures if you try to reuse
the client object again.
* always close websocket in ClientManager.destroy
Invoking logout does not implicitly cause the server to close
the websocket for you, so cleanup everything.
Otherwise the websocket being open keeps node alive and hanging
mysteriously until the connection hits a timeout.
* fix indentation for eslint
2016-10-26 14:49:45 +01:00
Amish Shah
26de908cfd
some voice docs
2016-10-26 14:44:19 +01:00
Amish Shah
0c4a4023ce
Fix setting guild role positions ( #751 )
2016-10-26 14:19:36 +01:00
Amish Shah
0f8e8dddff
fix presence updating
2016-10-25 21:40:53 +01:00
Amish Shah
91ba59c43d
Added voice disconnect
2016-10-25 14:18:20 +01:00
Amish Shah
f96c185d92
add the functions to voice connection
2016-10-24 21:39:32 +01:00
Amish Shah
1a5ce878a1
fix some stuff
2016-10-24 20:13:44 +01:00
Amish Shah
b24e0b347e
Merge remote-tracking branch 'origin/indev' into indev-voice
2016-10-24 16:26:41 +01:00
Amish Shah
6093dac554
Fix #776 (guildMemberAdd firing for existing members)
2016-10-24 15:57:07 +01:00
Amish Shah
9d0dd665de
fix something
2016-10-24 14:49:01 +01:00
Amish Shah
8dd2005ab9
stop logging
2016-10-24 14:37:08 +01:00
Amish Shah
e13e2447d4
get voice sort of working
2016-10-24 14:26:24 +01:00
Amish Shah
7c26603773
Fix presences probably ¯\_(ツ)_/¯
2016-10-01 15:27:56 +01:00
Amish Shah
ab15c45d96
fixed role stuff
2016-10-01 11:21:35 +01:00
Schuyler Cebulskie
8d18ed42f6
Update tests
2016-09-27 18:48:54 -04:00
Amish Shah
045153584a
redo the client user presence stuff
2016-09-27 17:57:47 +01:00
Amish Shah
534d7af8c3
Fix resuming sessions ( fixes #699 )
2016-09-25 15:03:54 +01:00
Amish Shah
03651fd6e3
Change how presences are handled
2016-09-25 14:16:03 +01:00
Amish Shah
0e8f1bef97
Stop comparing for equality on update events and just emit for performance
2016-09-25 11:24:02 +01:00
Amish Shah
fbcea236c5
Fix avatars not being set on selfbots - fixes #697
2016-09-13 20:21:12 +01:00
Amish Shah
f7e89f61e6
Fix channelCreate being emitted twice - fixes #698
2016-09-13 20:00:00 +01:00
Amish Shah
36435934c7
documentation v13
2016-09-12 17:36:38 +01:00
Amish Shah
75b01e0a4a
add /play to test file
2016-09-12 17:08:56 +01:00
Amish Shah
9059eb13a2
Add passes to streaming voice
2016-09-11 18:49:18 +01:00
Amish Shah
7933d755be
Fix docs generator and add EvaluatedPermissions.hasPermissions()
2016-09-11 12:44:31 +01:00
Amish Shah
e75dd2638c
Add Burst requests - addresses #656
2016-09-10 22:12:10 +01:00
Amish Shah
c6aa16277a
Add TextChannel.members
2016-09-10 17:06:10 +01:00
Amish Shah
7475f734ac
Add debug stuff
2016-09-04 12:31:16 +01:00
Amish Shah
906672e538
Merge branch 'indev-rewrite-sharding' into indev-rewrite
2016-09-04 12:17:42 +01:00
Amish Shah
432c5ccc82
Add volume modification to dispatcher
2016-09-03 22:27:43 +01:00
Amish Shah
7ff2568cfc
Fix collectors and make guild sync add previously unknown members
2016-09-03 21:21:15 +01:00
Amish Shah
ae17a89191
Reduce memory usage by dynamically creating Dates
2016-09-02 13:18:27 +01:00
Amish Shah
552d603782
Try and fix author bug?
2016-09-01 14:50:45 +01:00
Amish Shah
cde3bcb3bd
Tidy up shards a bit
2016-08-30 19:07:13 +01:00
Amish Shah
c70dfa83fb
Add ShardManager
2016-08-30 17:26:32 +01:00
Amish Shah
d249aa10cc
Add client.destroy();
2016-08-30 13:05:57 +01:00
Amish Shah
5d06be6333
Add Emoji class
2016-08-29 15:18:41 +01:00
Amish Shah
a91fcd5cab
Add ChannelPinsUpdate event
2016-08-28 18:50:55 +01:00
Amish Shah
642d768cdc
Add textBasedChannel.bulkDelete()
2016-08-26 22:13:27 +01:00
Amish Shah
ee6ccc5e17
Fix fs-extra dependencies
2016-08-26 18:05:36 +01:00
Amish Shah
6ddc7a813c
Add VoiceReceiver streams
2016-08-26 17:34:28 +01:00
Amish Shah
48762c642c
Make voice receiving better
2016-08-25 23:12:03 +01:00
Amish Shah
2d6068010b
Create basic voice receiving
2016-08-25 22:40:22 +01:00
Amish Shah
ccf513a2fc
Fix DMs breaking
2016-08-25 21:38:50 +01:00
Amish Shah
6d7e649bb1
fix some voice stuff
2016-08-25 14:49:18 +01:00
Amish Shah
d6f5df39fc
voice stuff
2016-08-25 14:24:19 +01:00