Gus Caplan
8cf95dc9b3
update fetch member to work in a more consistent way ( #1696 )
...
* Update Guild.js
* Update Guild.js
2017-07-21 02:11:12 +02:00
Raphael
edfd50d003
afkChannelID returns a Snowflake rather than an string ( #1697 )
...
little update to <guild>.afkChannelID property in docs
2017-07-18 17:11:09 +02:00
Robin B
7f69c62ddc
Fix docs for Application secret type ( #1690 )
...
Now a string (as supposed to be) instead of boolean.
2017-07-17 12:03:40 +02:00
meew0
2b230e8c6c
Elaborate on the issue template checkboxes, fix spacing
2017-07-17 10:16:46 +02:00
SpaceEEC
fdb8f046b5
Fixing MessageEmbed's timestamp transforming ( #1688 )
...
when sending to discord
Also storing the timestamp in milliseconds when using setTimestamp
2017-07-16 17:55:51 +02:00
Crawl
26e5ef3205
Update deps and fix webpack
2017-07-16 14:34:23 +02:00
SpaceEEC
b7bbd395e8
Fix for GroupDMChannel#addUser and added removeUser, setName and edit ( #1576 )
...
* fixed GroupDMChannel#addUser, added setName and removeUser
and changed every `the Group DM`to `this Group DM`, for consistency
* added edit method
* delete method comes already with the Channel class
* brackets
* removed empty line
2017-07-16 14:15:54 +02:00
SpaceEEC
8580380541
fixed MessageEmbed#timestamp and changed attachFile to attachFiles ( #1670 )
...
* fixed MessageEmbed#timestamp and changed attachFile to attachFiles
as well as a few doc changes
* Embed#files shouldn't be a nested array
2017-07-16 14:11:49 +02:00
Gus Caplan
ed84d76a42
move nsfw to the new prop ( #1687 )
2017-07-16 14:06:51 +02:00
aemino
b9434ed112
Expose DiscordAPIError and API error constants ( #1641 )
...
* Expose DiscordAPIError
* Expose API error constants
* Add typedef for APIError
* Integligently forgot to save file
2017-07-16 14:06:26 +02:00
Gus Caplan
a965b3709a
move nsfw to the new prop ( #1687 )
2017-07-16 14:04:40 +02:00
Raphael
111fa2da93
Fix typo in client.voiceConnections docs ( #1679 )
...
Fix typo in client.voiceConnections docs
2017-07-11 05:42:14 +02:00
FireController1847
e50bf2cdad
Fix Recommended Shards ( #1672 )
2017-07-10 10:37:31 +01:00
SpaceEEC
c0e9ce2a1d
functions for setTimeout should get the context bound and not applied ( #1673 )
2017-07-10 03:34:54 +02:00
Gus Caplan
4e5556ba09
important build stuff ( #1663 )
2017-07-08 07:16:46 +02:00
Crawl
116fcbd54e
Oops, might use the right version number
2017-07-08 06:34:50 +02:00
Crawl
516c2025ba
Use the uglifyjs-webpack-plugin beta on npm
2017-07-08 06:32:29 +02:00
Crawl
0c34f3a313
Update dependencies & make webpack great again
2017-07-05 11:53:53 +02:00
Gus Caplan
e3cd000ec0
update http options to fit discord spec ( #1656 )
...
* Update Constants.js
* Update APIRequest.js
* Update Invite.js
* Update Constants.js
2017-07-05 09:10:06 +01:00
Gus Caplan
bcbf834c95
use webhooks cache in guild audit log ( #1660 )
...
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
2017-07-05 09:08:13 +01:00
Gus Caplan
7f809395af
add new unique property ( #1659 )
2017-07-05 09:02:40 +01:00
Gus Caplan
39a3e72894
allow content in edit options like in message send options ( #1657 )
2017-07-05 09:01:07 +01:00
Gus Caplan
f8a1f2c23b
fix this again ( #1655 )
2017-07-04 03:58:54 +02:00
Gus Caplan
e57bfc9313
undefined check to merge default ( #1654 )
2017-07-04 03:48:20 +02:00
Drahcirius
b1d9084345
Remove RichEmbed in favour of MessageEmbed ( #1584 )
...
* remove RichEmbed in favour of MessageEmbed
* fix provider typo
2017-07-04 00:53:22 +02:00
SpaceEEC
c42e53d70d
Fixed User#fetchProfile, UserProfile#premium and added #flags ( #1629 )
...
* Fixed User#fetchProfile, UserProfile#premium and added #flags
* made UserProfile#flags a getter and stored the raw bitfield under UserProfile#_flags
* lowercased Flags
2017-07-04 00:28:53 +02:00
SpaceEEC
3da95d7e68
Corrected some docstrings ( #1611 )
...
* corrected some docstrings
* merge master
* fixed MessageSearchResult typedef and moved the note for the hit property to there
2017-07-04 00:22:48 +02:00
Gus Caplan
2eb3720001
move raw call so that any cache events happen before ( #1653 )
...
* move raw call so that any cache events happen before
* Update WebSocketConnection.js
* Update WebSocketConnection.js
2017-07-04 00:10:28 +02:00
aemino
afcf43aef6
Add VoiceConnection errors ( #1649 )
2017-07-04 00:09:38 +02:00
SpaceEEC
1c901cee7b
Fixed wrong parenthesis for Webhook#send and Webhook#sendSlackMessage ( #1648 )
2017-07-04 00:09:07 +02:00
SpaceEEC
3fa880df5b
Made (hopefully) all url related methods accept an options objects ( #1617 )
...
and removed a leftover in User#avatarURL
2017-07-04 00:08:24 +02:00
SpaceEEC
ee3a2415e4
Removed deprecated file option from MessageOptions ( #1614 )
2017-07-04 00:06:29 +02:00
bdistin
d266804953
rest api route fixes ( #1645 )
...
* start of the rest api router fixes.
* fix more missed code
2017-07-02 09:43:10 +01:00
bdistin
8da557faab
Fix client.fetchApplication ( #1644 )
...
previously it returned: `this.api.oauth2.applications was not a function`, missed fixing with the api router change
2017-07-02 01:33:21 +01:00
aemino
2b56de7728
Expose DiscordAPIError and API error constants ( #1641 )
...
* Expose DiscordAPIError
* Expose API error constants
* Add typedef for APIError
* Integligently forgot to save file
2017-07-02 01:20:35 +01:00
aemino
62537b7deb
Ignore setSpeaking requests when VC isn't connected ( #1638 )
2017-07-01 10:14:41 +01:00
Gus Caplan
5ecd5f7d69
REST API speed improvement ( #1577 )
2017-07-01 10:14:17 +01:00
Gus Caplan
6bc7b3e068
add user account checkbox ( #1640 )
2017-07-01 10:11:15 +01:00
Gus Caplan
85615aa3a1
update tern file to actually work ( #1630 )
2017-06-29 19:53:37 +01:00
Gus Caplan
822c1f533c
Fix toLowerCase errors in GuildAuditLogs ( #1627 )
2017-06-29 19:53:25 +01:00
Drahcirius
4ce4dc019e
setTimeout should use args ( #1623 )
2017-06-29 19:53:11 +01:00
Will Nelson
f1a74f214e
make token not enumerable ( #1620 )
2017-06-29 19:52:58 +01:00
Gus Caplan
85ec7c64bc
update docs for discord api error ( #1575 )
...
* aaaaa
* Update DiscordAPIError.js
2017-06-29 19:52:44 +01:00
aemino
b5de89a973
Fix VoiceConnection#authenticateFailed race condition ( #1601 )
2017-06-29 19:52:22 +01:00
Mythic
ddfa57e96d
Improve Message's ID attribute documentation ( #1450 )
...
Remove the implication that a Message object's ID is unique only to the channel it was sent on
Message ID's are snowflakes, and as stated in Discord's API documentation, globally unique throughout Discord
2017-06-29 19:51:37 +01:00
SpaceEEC
e3232bdb2b
added Guild#setExplicitContentFilter ( #1583 )
2017-06-29 19:51:11 +01:00
SpaceEEC
86ec60bc00
fix merge conflict
2017-06-29 19:48:34 +01:00
Gavin Wainwright
7b44262346
Destructure certain imports ( #1634 )
2017-06-29 00:43:26 +01:00
SpaceEEC
029efe5cb0
Fixed Guild#deleteEmoji, it's now using the emoji's id ( #1633 )
2017-06-28 18:17:57 +01:00
Gus Caplan
5891c0b4d7
update tern file to actually work ( #1630 )
2017-06-28 15:29:49 +01:00