SpaceEEC
258fc4ecf3
Fix MessageMentions#has not returning true for role mentions ( #1840 )
2017-08-27 23:51:15 +02:00
iCrawl
3c532f16bc
Remove unused Util require
2017-08-26 16:12:18 +02:00
Amish Shah
4f5cbbc0f0
Merge branch 'master' of https://github.com/hydrabolt/discord.js
2017-08-26 13:51:56 +01:00
Amish Shah
7d750c4680
pass on error
2017-08-26 13:51:53 +01:00
Gus Caplan
d792c6764a
ChannelStore LRU ( #1832 )
2017-08-26 13:48:31 +01:00
Amish Shah
92a52460e1
Fix GuildMemberStore docs
2017-08-26 13:47:26 +01:00
Amish Shah
30dd3e0cff
Fix #1684
2017-08-26 13:43:13 +01:00
Amish Shah
51fe80fd11
fix fetching all members
2017-08-26 13:08:54 +01:00
Amish Shah
c3d7c73e47
Add GuildMemberStore#fetch
2017-08-26 13:00:36 +01:00
Frangu Vlad
284f4e8ac0
Fix MessageEmbed copy paste ( #1834 )
...
The addField function wouldn't have errored if value wasn't a string
2017-08-26 10:03:44 +01:00
BigBrainAFK
86ffdc38d3
Mark video property as readonly ( #1833 )
2017-08-26 10:00:33 +01:00
Amish Shah
5fcc483ded
Donate badge thxxx
2017-08-26 00:26:03 +01:00
Amish Shah
170f687d81
actually fix that delete thing ( #1507 )
2017-08-26 00:08:12 +01:00
Amish Shah
5a3b59b4b0
Fix #1685
2017-08-25 23:57:29 +01:00
Amish Shah
84153be894
Fix #1281
2017-08-25 23:41:26 +01:00
Amish Shah
5f694d1149
Make resolve types stricter
...
- UserResolvable no longer allows a guild
- ChannelResolvable no longer allows a message or a guild
- ChannelResolvable no longer allows a message or a guild
2017-08-25 23:10:05 +01:00
Isabella
fbb1253b3f
Added resolveImage to reduce code duplication ( #1820 )
...
* add client#resolveImage
* oops
* resolveFile fix
* async is the future
* async
* update doc example
* build fix
* doc fix
* fix docs
* thx hydar
2017-08-25 22:17:38 +02:00
Amish Shah
b8315b79c7
Store and Model Refactor ( #1618 )
...
* UserStore refactor
* Create ChannelStore, remove redundant methods in ClientDataManager
* Create GuildStore
* Emoji stuff
* Use a Base class where possible to reduce code duplication
* Remove unnecessary comments from ChannelStore
* Add Base._clone();
* Remove unused ClientDataManager methods
* Refactor some more stuff
* ESLint
* Move Client#fetchUser to client.users.fetch
* Remove .has checks and just see if .get is truthy
* Fix guild member chunk error
* ESLint
* Fix typo
* Fix channel storing for user bots
* Remove ClientDataManager
* GuildChannelStore
* Reduce use of Util.cloneObject
* and this one too
* update typings
* Fix MessageUpdate handling (#1507 )
* Fix role updates (probably fixes #1525 )
* fix for eslint
* Address some of appell's comments
* Use debug constant
* start message store crap if it's ugly tell me later k
* fix that
* message store but works™️
* clean up guild stuff
* clean up channel store stuff
* clean up channel event handling
* does this message stuff work? find out soon in the next episode of dIsCoRd.Js
* eslint
* emojis
* emojis and reactions
* hi my name is eslint and im A LIL SHIT
* so i forgot this huh
* user stuff
* Fix @class
* Fix message stuff
* Fix user store docs
* Document all the bases
* fix the super things
* tidy up remove
* fix textbasedchannel
* fix that too
* fix emoji store
* make voice state stuff less ugly
* make voice states even less ugly
* make members less bad
* fix bug
* fix that too
* fix reactions
* how was this broken for so long
* role store
* remove super._patch from UserConnection
* Rename UserProfile#setup to _patch
* remove unnecessary super calls
* update docgen dep (pls fix travis thx)
* doc messagestore
* fix docs
* message store docs
* things
* DOCS PLS
* more things
* Document TextBasedChannel#messages as a MessageStore
* Rebase
* All the stores!
2017-08-25 21:08:58 +01:00
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 https://github.com/hydrabolt/discord.js/commit/201ecd25a2e017c0be74ed2c68abc2c323813a87
* Backported retry on 500 https://github.com/hydrabolt/discord.js/commit/57b69803132355b506f9919f37a55915ccdf86d3
* Backported https://github.com/hydrabolt/discord.js/commit/b8034525e3da2a5bd05fab44841ee3b0149ff70c and https://github.com/hydrabolt/discord.js/commit/fa5c4efa2bc545bc4df6f449dde343a6dcfdcfe2
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