SpaceEEC
56fe70266e
Allow Message#edit to accept a RichEmbed and fixed RichEmbed#file's type ( #1829 )
2017-08-25 19:50:01 +02:00
SpaceEEC
1fe201ae90
Backporting, doc/bug fixes as well deprecation ( #1826 )
...
* Backporting, doc/bug fixes as well deprecation
* Adress issue with not resettable icons/images
2017-08-25 15:14:05 +02:00
iCrawl
243ff48a67
Remove unneeded doc string
2017-08-24 00:36:13 +02:00
iCrawl
bce5b677ad
Backport passing a collection to a collector
2017-08-24 00:35:44 +02:00
Gus Caplan
85d195da52
Fix docs on resolveImage
2017-08-23 05:40:58 +02:00
Isabella
17d7f5c723
resolveImage backport ( #1822 )
...
* add resolveImage
* add groupDMChannel#setIcon + icon getter
* doc fix
* crawl no kill pls
* *whistles*
* channe
2017-08-23 05:29:22 +02:00
Gus Caplan
b9ea83afb4
update web.md ( #1821 )
2017-08-22 21:20:26 +02:00
Crawl
a85fc91630
make webpack over 9000 times better ( #1816 )
...
* webpack stuff
* even better
* Update browser.js
2017-08-22 19:57:59 +02:00
Gus Caplan
b055dae998
make webpack over 9000 times better ( #1816 )
...
* webpack stuff
* even better
* Update browser.js
2017-08-22 19:55:28 +02:00
SpaceEEC
0b22d9a774
Backporting Attachments ( #1817 )
2017-08-22 00:39:27 +02:00
Isabella
4520c801d3
update attachment & docs ( #1815 )
2017-08-21 23:11:58 +02:00
SpaceEEC
f7664b01a2
Backports ( #1813 )
...
* Backported OAuth2Application 201ecd25a2
* Backported retry on 500 57b6980313
* Backported b8034525e3 and fa5c4efa2b
2017-08-21 22:25:21 +02:00
SpaceEEC
be4ccb3686
Backporting audit log reasons and createRole with position for 11.2 ( #1810 )
...
* Backporting audit log reasons and createRole with position for 11.2
* Sending kick reason via header rather than via query
2017-08-21 22:21:18 +02:00
Isabella
0c0ec72cb8
Fix Guild#createRole with position ( #1720 )
...
* Fix Guild#createRole with position + validation
* remove position validation, small update
* fixed async issue if position provided
2017-08-20 23:36:22 +02:00
Will Nelson
2c763073d7
add capture groups to MessageMentions and validate snowflake ranges ( #1612 )
...
* add capture groups
* update patterns to valid snowflake ranges
2017-08-20 23:26:13 +02:00
bdistin
9c2e3b8978
Pass the collection of X collected in collectors ( #1594 )
...
...to the filter function.
2017-08-20 23:13:08 +02:00
SpaceEEC
618fa2b104
functions for setTimeout should get the context bound and not applied ( #1673 )
2017-08-20 22:26:04 +02:00
Crawl
a7e5e53e5d
Fix ClientUser#settings not showing up in the documentation ( #1757 )
2017-08-20 22:18:40 +02:00
SpaceEEC
c01e9ad828
No longer double increment the reaction count when the client reacts ( #1755 )
2017-08-20 22:17:44 +02:00
Raphael
29aef18de8
updated docs for <ReactionEmoji>.toString() so it now uses send instead sendMessage in example ( #1761 )
2017-08-20 22:17:36 +02:00
Crawl
2478092d44
More docs cleanup
2017-08-20 22:15:51 +02:00
Crawl
c7d1507e19
Docs cleanup
2017-08-20 22:08:37 +02:00
Crawl
c33b78da23
Remove reasons for now
2017-08-20 22:01:17 +02:00
Gus Caplan
e76ebb4fcb
Guild/systemchannel ( #1799 )
...
* add cool system channel
* Update Guild.js
* Update Guild.js
* Update Guild.js
2017-08-20 21:59:20 +02:00
iCrawl
b3216f26d6
Update deps
2017-08-20 21:39:27 +02:00
Gus Caplan
8b8a365e99
fix ratelimits ( #1806 )
2017-08-20 10:14:38 +02:00
Gus Caplan
8c855855cd
Guild/systemchannel ( #1799 )
...
* add cool system channel
* Update Guild.js
* Update Guild.js
* Update Guild.js
2017-08-20 05:15:02 +02:00
Gus Caplan
55543754b9
proper fix for #1685 ( #1805 )
...
* Update WebSocketConnection.js
* Update WebSocketConnection.js
* Update WebSocketConnection.js
* Update RESTManager.js
2017-08-20 05:14:49 +02:00
Gus Caplan
9b97fe292f
Remove partial classes ( #1794 )
...
* remove partial objects
* remove partial evil
* Update Invite.js
* Update Invite.js
2017-08-17 20:49:41 +02:00
iCrawl
fff8b764af
Update package.json
2017-08-17 20:20:20 +02:00
iCrawl
2aa2f73c74
Docs cleanup
2017-08-17 20:04:01 +02:00
Gus Caplan
5ce0def9d0
fix sync ( #1792 )
...
* Update Ready.js
* Update ClientDataManager.js
2017-08-17 18:28:01 +02:00
Gus Caplan
23d42d7e22
permissions rename :3 ( #1788 )
...
* permissions rename :3
* Update Permissions.js
* Update TextChannel.js
* Update GuildChannel.js
2017-08-17 18:27:50 +02:00
SpaceEEC
e677543c30
Allow to set the new game types via ClientUser#setPresence and ClientUser#setGame ( #1782 )
...
* Allow to set the new game types via ClientUser#setPresence and setGame
* Accept string version of types, fix options parameter, remove Presence#streaming
* One line if statement, don't reuse data.game when game is already reassigned and fix error message
* Removed redundant if statement
2017-08-17 18:27:32 +02:00
SpaceEEC
2809eb74ca
Always send a type now when updating own presence ( #1785 )
2017-08-17 00:16:09 +02:00
Gus Caplan
6065fe1f8c
update image sizes, adding some more ( #1781 )
2017-08-15 21:55:07 +02:00
Gus Caplan
71f2cc10f1
add cover image ( #1780 )
...
* add cover image
* Update ClientApplication.js
2017-08-15 21:54:09 +02:00
Gus Caplan
57977b063e
channel stuff ( #1775 )
...
* channel stuff
* abstract channel creation
* Update Channel.js
* Update Channel.js
* Update Channel.js
* Update Guild.js
* Update Constants.js
* e
2017-08-13 13:57:25 +02:00
SpaceEEC
b2c7fcb603
Add support for new game types ( #1777 )
2017-08-13 13:56:45 +02:00
Johnson Chen
9c52030c29
ClientUser Fixes ( #1741 )
...
* Fixes #1702
* Remove Comments
* Follow what Gus said... I hope
* JSDoc
* Update ClientUser.js
* TIL my knowledge about JSDocs was a lie
2017-08-12 12:01:43 +02:00
SpaceEEC
8034c0437d
Fix VoiceChannel#setName and ChannelData#userLimit is a only voice thing ( #1771 )
2017-08-12 11:55:55 +02:00
Crawl
cd4a69d009
Add Guild#nameAcronym
2017-08-12 11:50:15 +02:00
iCrawl
5dc83a1b03
Git pls
2017-08-12 11:28:47 +02:00
SpaceEEC
2611efe9c1
No longer double increment the reaction count when the client reacts ( #1755 )
2017-08-12 11:25:29 +02:00
Crawl
cba4cc2400
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-08-12 11:23:47 +02:00
Évelyne Lachance
d513c4bbb9
Add count optional argument to Collection methods ( #1552 )
...
* Add `count` optional argument to Collection methods
[NON-BREAKING CHANGE]
An optional `count` argument is added to the following methods:
- random() and randomKey()
- first() and firstKey()
- last() and lastKey()
If `count` is used, the method returns an array instead of only the value. Performance impact non-existent for existing code. Performance for returning an array has been measured and this is the fastest I could find (array[i] = value is faster than array.push()).
* Update Collection.js
Fixed spacing/line length errors according to suggestions by codacy/pr
* Fixed docs
Added proper `@returns {*|Array}` as the methods might return either. Also added params where missing (whoops)
* Further doc fixes
Per Crawl's comments, fixed (i + 1) spacing as well as fixed {Integer} to {number}
* random() and randomKey() fix
Per Hydra's comment, random() and randomKey() now ensures unique values.
I've also resolved potential issues with requesting a count higher than the collection size. A collection with 10 items will only ever return at most 10 items using the `count` property.
* Can I facepalm harder
Had wrong header comments ^_^
* Fixed for "values/value" and Omited
Also, added "Positive" integer check.
* looks like I "omitted" a change, there.
* Update Collection.js
* Update Collection.js
* Update Collection.js
2017-08-12 11:18:25 +02:00
aemino
7aa791eaaa
Ignore setSpeaking requests when VC isn't connected ( #1638 )
2017-08-12 11:16:11 +02:00
Gus Caplan
fbdf028b86
:3 ( #1774 )
2017-08-12 10:58:51 +02:00
Gus Caplan
3ba224900f
new application stuff very hype ( #1764 )
...
* application stuff, more to come
* docstrings
* Update Message.js
2017-08-11 19:09:06 +02:00
Gus Caplan
3c7869c1b7
update retry case for 5xx ( #1765 )
2017-08-10 20:31:45 +02:00