abal
ac7e1a052c
Add opusscript as a possible opus encoder ( #558 )
...
* Add opusscript as a possible opus encoder
* Make weird eslint rule happy
2016-08-28 17:35:59 +01:00
Amish Shah
a959cd339c
Fix inaccuracy in VoiceReceiver docs
2016-08-27 23:15:21 +01:00
Hackzzila
83b33c5046
Added MessageOptions to the docs and added an options param to sendTTSMessage ( #555 )
...
* Added MessageOptions to the docs and added an options param to sendTTSMessage
* Docs
2016-08-27 23:06:14 +01:00
Amish Shah
948a18dfe2
Fix docs.json
2016-08-27 22:52:21 +01:00
Amish Shah
ef0f38930f
Added Guild.fetchBans()
2016-08-27 22:48:48 +01:00
Amish Shah
22062f1f86
Added guild.unban
2016-08-27 22:31:21 +01:00
Hackzzila
2c056b6418
Added nonce support to sendMessage ( #553 )
2016-08-27 22:01:51 +01:00
Amish Shah
4d6c604322
Added GuildMember.ban()
2016-08-27 21:59:35 +01:00
Amish Shah
6a1a36813f
Add TextBasedChannel.setTyping(bool)
2016-08-27 21:44:08 +01:00
Schuyler Cebulskie
6faa409e96
Add note about requiring bot accounts ( #552 )
2016-08-27 20:22:08 +01:00
Amish Shah
b356ccf1e5
Merge branch 'indev-rewrite' of https://github.com/hydrabolt/discord.js into indev-rewrite
2016-08-27 19:40:18 +01:00
Amish Shah
9ea9623de0
Add Permission Overwrites deletion
2016-08-27 19:40:14 +01:00
Schuyler Cebulskie
7ae12ab325
Rename client.cacheUser to client.fetchUser ( #551 )
2016-08-27 19:28:18 +01:00
Amish Shah
135ab02104
fix eslint
2016-08-27 18:55:20 +01:00
Amish Shah
6293f28ad9
Add guild member nickname setting n stuff
2016-08-27 18:55:08 +01:00
Amish Shah
8a1bfe559d
Add guildmember nickname tracking
2016-08-27 17:54:58 +01:00
Amish Shah
50c6fa3433
Role hex stuff
2016-08-27 17:46:13 +01:00
Amish Shah
f2708dd26f
Add playPCMStream
2016-08-27 15:48:10 +01:00
Amish Shah
3718841c7c
Merge branch 'indev-rewrite' of https://github.com/hydrabolt/discord.js into indev-rewrite
2016-08-27 15:41:42 +01:00
Amish Shah
19d976748c
VoiceReadable stream now ends when a member leaves a VoiceChannel
2016-08-27 15:35:55 +01:00
Schuyler Cebulskie
f944dce5c7
Add client.cacheUser method ( #548 )
...
* Add client.cacheUser method
* Fixed ESLint issues
* Added existence check first
2016-08-27 15:22:07 +01:00
Amish Shah
e47f3dda94
Merge branch 'indev-rewrite' of https://github.com/hydrabolt/discord.js into indev-rewrite
2016-08-26 23:27:43 +01:00
Amish Shah
947f61e436
Actually fix message.mentions.channels
2016-08-26 23:27:37 +01:00
Schuyler Cebulskie
b1772089d1
Made GuildChannel.toString return a mention ( #543 )
2016-08-26 22:57:08 +01:00
Amish Shah
642d768cdc
Add textBasedChannel.bulkDelete()
2016-08-26 22:13:27 +01:00
Amish Shah
b22bda74b8
Fix ESLint
2016-08-26 21:17:37 +01:00
Amish Shah
e5057a5b6a
Add iconURL/avatarURL and fix object.values reference
2016-08-26 19:00:55 +01:00
Amish Shah
0988b47fcd
fix the derp
2016-08-26 18:49:19 +01:00
Amish Shah
ee6ccc5e17
Fix fs-extra dependencies
2016-08-26 18:05:36 +01:00
Amish Shah
870f3590fe
Merge branch 'indev-rewrite-voice' into indev-rewrite
2016-08-26 17:35:10 +01:00
Amish Shah
6ddc7a813c
Add VoiceReceiver streams
2016-08-26 17:34:28 +01:00
Gus Caplan
3a031c65e7
fix issues with line length being greater than 120 ( #544 )
2016-08-26 16:17:04 +01:00
Schuyler Cebulskie
0a005cbd16
Fix other .equals(null) ( #541 )
2016-08-26 00:14:19 +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
Schuyler Cebulskie
8038903c3e
Fixed user.equals(null) ( #540 )
...
This fixes `user.equals` when passing `null` or `undefined`.
2016-08-25 22:06:32 +01:00
Amish Shah
7ba37a3511
fix eslint for opus
2016-08-25 22:02:41 +01:00
Amish Shah
ccf513a2fc
Fix DMs breaking
2016-08-25 21:38:50 +01:00
Amish Shah
8d094cdfb1
Add channel.type
2016-08-25 19:41:27 +01:00
Amish Shah
64b0e6bc84
guildMemberSpeaking docs
2016-08-25 19:13:38 +01:00
Amish Shah
fe3fdb7d6a
document voice
2016-08-25 19:12:23 +01:00
Amish Shah
6d7e649bb1
fix some voice stuff
2016-08-25 14:49:18 +01:00
Amish Shah
7b2d76429f
remove console.log
2016-08-25 14:28:27 +01:00
Amish Shah
baff7a094c
Merge remote-tracking branch 'origin/indev-rewrite' into indev-rewrite-voice
2016-08-25 14:26:38 +01:00
Amish Shah
d6f5df39fc
voice stuff
2016-08-25 14:24:19 +01:00
LewisHogan
cdb74a75f2
Indev rewrite - Changed GuildChannel type ( #536 )
...
* Altered GuildChannel.type to return a string containing either "text",
"voice" or the id of the channel type.
* Fixed typo
* Altered code to pass ESLint test (Functionality Unchanged).
* Third times the charm.
2016-08-24 23:38:07 +01:00
Amish Shah
253789f398
PLS WORK
2016-08-24 22:26:32 +01:00
Amish Shah
8683f45816
errory voice
2016-08-24 21:38:52 +01:00
Hyper-Coder
7892e62604
Added Client.uptime ( #533 )
...
* Added Client.uptime
* Added Client.uptime
* Update Client.js
2016-08-24 17:16:22 +01:00
Amish Shah
48444a5444
Fix voice channel members
2016-08-23 22:34:51 +01:00
Amish Shah
328f3c4ae8
Add VoiceConnection.disconnect([reason]);
2016-08-23 21:47:41 +01:00
Amish Shah
f9a553a7f0
Documentation
2016-08-23 21:16:52 +01:00
Amish Shah
d0a76f3f38
Promisify
2016-08-23 21:04:19 +01:00
Amish Shah
e370ccf806
Complete voice connection
2016-08-23 20:59:08 +01:00
Amish Shah
f713f52841
Add voice websocket handling
2016-08-23 19:13:23 +01:00
Amish Shah
d8b1ef47cd
voice setup waits for all data
2016-08-23 18:29:53 +01:00
Amish Shah
fa085c18cd
Handle Voice Server Update events
2016-08-23 17:52:40 +01:00
Amish Shah
dfbe44143a
merge
2016-08-23 17:12:37 +01:00
Amish Shah
b065bf799c
Fix getMessages bug
2016-08-23 17:03:49 +01:00
Amish Shah
0edf838474
more voice stuff
2016-08-23 16:59:38 +01:00
Amish Shah
f38aff7523
start work on voice manager
2016-08-23 15:49:04 +01:00
Amish Shah
c8be80abd7
Add support to recognise 4004 codes and throw an error
2016-08-23 15:09:03 +01:00
Amish Shah
84a4755f53
Fix typo in docs
2016-08-23 14:44:22 +01:00
Amish Shah
576a7f2488
Add TextBasedChannel{full}.getMessages()
2016-08-23 13:52:01 +01:00
Amish Shah
d710713c09
Add GroupDMChannel support
2016-08-23 13:27:25 +01:00
Hyper-Coder
3a16f5147d
Added message.reply ( #529 )
2016-08-23 02:12:46 +01:00
Amish Shah
50dcececfb
Create example docs
2016-08-23 00:34:46 +01:00
Amish Shah
51a399d558
fix docs
2016-08-23 00:18:43 +01:00
Amish Shah
1deefbd8cd
change maps to Collections
2016-08-23 00:17:44 +01:00
Amish Shah
ce0d9a7272
Add message.mentions.channels
2016-08-22 23:37:17 +01:00
Amish Shah
2a1799f20f
Move around mentions and stuff
2016-08-22 23:09:45 +01:00
Amish Shah
ddd3ea9727
Fixed Guild Role Delete Handling
2016-08-22 22:45:02 +01:00
Amish Shah
c96ecec24c
Fix recipient resolution
2016-08-22 22:31:22 +01:00
Amish Shah
c308a2a01c
Update docs for Client
2016-08-22 21:44:01 +01:00
Amish Shah
3fded1d7af
Add Sharding Support!
2016-08-22 21:31:43 +01:00
Amish Shah
fb2392a1ed
minor fixes to ClientUser.setStatus
2016-08-22 21:00:03 +01:00
Hyper-Coder
8fed1b1d80
Add setStatus function
2016-08-22 20:48:19 +01:00
Amish Shah
dd40b870d5
Add message.pinned
2016-08-22 20:46:56 +01:00
Amish Shah
357502e520
Fix user.status
2016-08-22 19:52:55 +01:00
Amish Shah
cf34f253cb
Change message.mentions to a Map
2016-08-22 19:45:27 +01:00
Amish Shah
59cc02de89
Remove lastMessageID from voiceChannel
2016-08-22 19:29:02 +01:00
Amish Shah
df456589ab
Fix requests getting locked up in queues
2016-08-22 19:15:08 +01:00
Amish Shah
89569d9249
fix docs yet again
2016-08-22 18:54:33 +01:00
Amish Shah
c294a0fac4
Move example to right place
2016-08-22 18:48:31 +01:00
Amish Shah
85fd82818f
Pass ESlint
2016-08-22 18:47:38 +01:00
Amish Shah
6f2caffd32
Add setting channel overwrites
2016-08-22 18:47:21 +01:00
Amish Shah
00505d099a
change type of Client.options
2016-08-22 18:07:10 +01:00
Amish Shah
115850ad04
Fix channelMessage endpoint
2016-08-22 18:04:22 +01:00
Amish Shah
ac7c543dfe
Fix doc gen
2016-08-21 17:47:16 +01:00
Amish Shah
65350348a8
Document all the events
2016-08-20 00:15:09 +01:00
Amish Shah
3051ae7061
Add constructor documentation
2016-08-19 22:59:52 +01:00
Amish Shah
d2cba74c13
Remove unused variable to pass ESLint test
2016-08-19 22:35:46 +01:00
Amish Shah
8d5d90e222
Remove all data stores! Move to maps
2016-08-19 22:35:03 +01:00
Amish Shah
82ab92ca2a
Migrate most of the Client Data Store to Clien
2016-08-19 22:21:34 +01:00
Amish Shah
ad8b4c7698
Remove WebSocket datastore - move directly to WebSocketManager
2016-08-19 21:37:27 +01:00
Amish Shah
bd50e3c0a5
Remove VoiceChannel store and add members map
2016-08-19 21:29:07 +01:00
Amish Shah
4400eb1b5c
Moved _cacheMessage to TextBasedChannel to avoid repeating code
2016-08-19 21:20:00 +01:00
Amish Shah
4f4ec3146b
Store Channel Messages in Maps
2016-08-19 21:12:01 +01:00
Amish Shah
97e16e6eed
Make SequentialRequestHandler private
2016-08-19 20:11:46 +01:00
Amish Shah
fb55b6dc60
Rebuild docs
2016-08-19 20:10:32 +01:00