Gus Caplan
4b77f26851
Update ClientUser.js ( #1739 )
2017-08-01 05:35:59 +02:00
Gus Caplan
963cf42e0d
add MessageMentions#has, remove old method ( #1724 )
...
* Update MessageMentions.js
* remove old method
* smh
* Update Message.js
* Update MessageMentions.js
* Update MessageMentions.js
* Update MessageMentions.js
2017-08-01 04:49:00 +02:00
Pg Biel
5799ba28f9
Fix Guild.equals ( #1713 )
2017-08-01 04:48:46 +02:00
Crawl
bda72c60fa
CRLF to LF
2017-08-01 04:40:39 +02:00
iCrawl
d4793bae0f
Fix tiny doc string
2017-08-01 04:32:29 +02:00
stupid cat
b8034525e3
Add user_guild_settings support ( #1365 )
...
* user guild settings
* Use direct collection
* I'm a goof
* double goof
* Structure properties
* Forgot to register listener
* wrong class names
* No more get in docs
* avoid waterfalls, bot checks
* trycatch
wow i thought i already did this :notlikecat:
* 👀
* Update ClientUser.js
* Update ClientUserGuildSettings.js
* Update UserGuildSettingsUpdate.js
* Update ClientUserChannelOverride.js
* Update ClientUserGuildSettings.js
2017-08-01 04:28:15 +02:00
tjpc3
4f5d1bffaf
fix node.js crash due to error messages being called with invalid error keys ( #1728 )
...
* Comments
* More Comments
* Added new error message
* Fixed error message
* Removing temporary comments
* Fixed error messages
* Added more new error messages
* Removed trailing space
* Removed other trailing space
* Changed error key
* Changed error key used
2017-08-01 04:01:45 +02:00
SpaceEEC
79fed1295c
Fixed DiscordAPIError#message sometimes being undefined ( #1735 )
2017-07-31 01:18:55 +02:00
SpaceEEC
fe8f371d82
Fixed Client#guildMembersChunk's members collection's key being undefined. ( #1736 )
2017-07-31 01:16:50 +02:00
Gus Caplan
0acb0ac5dc
fix unpack weird issues ( #1729 )
2017-07-29 22:02:56 +02:00
Schuyler Cebulskie
a46f606170
Fix Crawl/Drah garbage
2017-07-27 23:17:39 -04:00
Crawl
7b74b088ac
Update nsfw prop
2017-07-28 04:53:23 +02:00
Pg Biel
eef87e5d97
Reasons ( #1715 )
...
* Add reasons
* How could I forget
* Hopefully fix conflicts
2017-07-27 03:14:04 +02:00
Gus Caplan
b2ab947180
fix guild audit log fetching of stuff ( #1721 )
...
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* e
2017-07-27 03:12:41 +02:00
bdistin
080996b5a9
fix sequential and burst ratelimiters from going on timeout because the queue is empty ( #1722 )
...
* create branch for me to work on
* fix sequential and burst ratelimiters from going on timeout because the queue is empty
2017-07-27 02:51:58 +02:00
Will Nelson
8bd7b82110
update collectors ( #1616 )
...
* start new collector stuff
* bugfixes
* remove pointless cleanup method
* rename methods, events, and options; remove extraneous methods,
* update doc ref
2017-07-26 10:10:35 +02:00
aemino
e29a3ec08b
Handle unexpected disconnects via packets ( #1521 )
2017-07-26 10:10:21 +02:00
aemino
4342ed29a8
Audio bitrate support ( #1439 )
...
* Audio bitrate support
Note: not implemented for VoiceBroadcasts
* Fix default args, auto bitrate
* Late night typos are the best
* Changes bitrate to kbps for VoiceChannel stuff
* Add methods to manipulate bitrate while encoding
2017-07-26 10:06:40 +02:00
Will Nelson
7eb9e65c41
check guild availability when aggregating client emojis ( #1711 )
2017-07-26 10:04:43 +02:00
SpaceEEC
278fe74a58
Adding reason parameter to GuildMember's methods ( #1710 )
...
* Added reason parameter to GuildMember's methods
* Reason parameters are optional
2017-07-26 10:04:25 +02:00
Gus Caplan
57b6980313
retry on 500 ( #1709 )
2017-07-22 23:21:50 +02:00
SpaceEEC
aeb8f85106
Guild#fetchMember's options paremeter should be optional ( #1705 )
2017-07-21 15:00:20 +02:00
Gus Caplan
a2eeafc75d
rewrite ratelimiting and api route builder ( #1667 )
...
* rewrite ratelimiting and api route builder
* more stuff
* let people pass their own handlers
* Update burst.js
* Update RequestHandler.js
* Update burst.js
* Update sequential.js
* Update RequestHandler.js
2017-07-21 02:32:40 +02:00
SpaceEEC
11556c0b3b
Moved all error strings to src/errors/messages and a few other things ( #1695 )
...
* Added missing error messages
As well as `Guild#setRolePosition` and `Guild#setChannelPosition`'s first arg validation
And fixed a typo in `Guild#setChannelPosition`
`roles` -> `channels`
* Reverted collection and Util constructors
* Removed leftover messages
Should have been in the second commit.
* It's a single invalid permission and removed unused flag error
* Fix INVALID_TOKEN -> TOKEN_INVALID as of #1703
2017-07-21 02:27:19 +02:00
Raphael
7a27b12b2b
.applicationID and .ownerID return a Snowflake rather than a string ( #1700 )
2017-07-21 02:11:37 +02:00
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
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
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
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
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