Ryan Munro
60f89bd96f
fix(stores): Add symbol.species for not-actual-stores ( #3477 )
...
* fix(stores): Add symbol.species for not-actual-stores
* Linting fixes
2019-09-22 23:50:41 +02:00
BadCoder1337
d05334fd3c
typings: make TypeScript interaction with channels better ( #3469 )
...
* make channel returning methods generic
* channel's type inference from kind of channel
* add extends
* rename generic due to name convention
* edit overload
* Update index.d.ts
* Update index.d.ts
* Update index.d.ts
Co-authored-by: Crawl <icrawltogo@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2019-09-19 23:01:08 +02:00
1Computer1
d5831df7b1
fix: typings for this-polymorphism of collections ( #3472 )
...
* Fix typings for this-polymorphism of collections
* Update index.d.ts
Co-authored-by: Crawl <icrawltogo@gmail.com >
2019-09-18 00:53:00 +02:00
iCrawl
ea9e144190
fix(typings): remove leftover typeof
2019-09-11 02:11:31 +02:00
iCrawl
33ecdd4c50
fix(typings): collection constructor
2019-09-11 01:58:12 +02:00
Crawl
ac44a7fc57
fix(typings): collections import
2019-09-10 20:34:47 +02:00
Crawl
321beb73bd
revert: "feat(Partials): add DMChannel/MessageReaction#fetch()… ( #3468 )
...
This reverts commit b0047c424b .
2019-09-10 19:49:56 +02:00
1Computer1
dad0cd8e81
feat: external collection package ( #2934 )
...
* Use external collection package
* Complete typings
* Document properly base collection class
* Add clone since sort is now in-place
* Update for latest changes to package
* Fix whitespace
* Update docs link
* Oops
* Update Collection.js
* Update index.d.ts
2019-09-10 17:44:47 +02:00
bdistin
278f185b64
fix(rate-limits): reactions buckets need to be shared with sub-… ( #3439 )
2019-09-10 17:29:44 +02:00
Charalampos Fanoulis
8dec251d3c
github: add support file and redirect to it ( #3302 )
...
* github: add support file and redirect to it
* github: happily accept that suggestion
2019-09-10 17:14:07 +02:00
newt
37ecf7b826
feat(constants): add verificationLevels ( #3369 )
...
* add Util.parseVerification()
* Made the code much cleaner.
* Removed method and created constant.
* Lint!
* refactor(constants): capitalize VerficiationLevels and add a typedef
* Changed VerificationLevels typedef to singular.
Co-Authored-By: Will Nelson <will@wnelson.xyz >
2019-09-10 16:12:27 +02:00
izexi
b0047c424b
feat(Partials): add DMChannel/MessageReaction#fetch() and Parti… ( #3261 )
...
* add DMChannel#fetch() & Action#getChannel({recipients})
* ref for MessageReaction partial
* typings
* add PartialTypes.REACTION
* accommodate for fully removed reactions
* fix incorrect wording and typo
* typings: MessageReaction#count is nullable
* typings: mark MessageReaction#partial as readonly
Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com >
* fix(User): fetch dm channel if cached one is partial
* docs: add missing comma
Co-Authored-By: Antonio Román <kyradiscord@gmail.com >
2019-09-10 16:09:06 +02:00
Carter
6f83e71555
feat: Guild#partnered ( #3444 )
...
* feat: Guild#partnered
* typings: added Guild#features
* fix: removed trailing space
* typings: made Guild#partnered readonly
2019-09-10 15:47:13 +02:00
SpaceEEC
8e0f525d91
fix(Role): throw TypeError in comparePositionTo ( #3466 )
2019-09-10 15:44:49 +02:00
SpaceEEC
4072ffb50d
typings(GuildChannel): add members getter ( #3467 )
2019-09-10 15:44:00 +02:00
Will Nelson
c86a6154aa
feat(VoiceState): add kick method ( #3462 )
...
* feat(VoiceState): add kick method
* feat(typings): add types for VoiceState#kick method
2019-09-10 10:00:04 +01:00
Ryan Munro
a6810e2eaa
feat(Permissions): add new method Permissions#any ( #3450 )
...
* Add new method Permissions#any
* Update src/util/BitField.js
This is much better
Co-Authored-By: bdistin <bdistin@gmail.com >
* Remove unreachable code
* Gotta keep the linter happy
* Apply bdistin suggested change to both methods
2019-09-10 10:55:42 +02:00
iCrawl
4fc461c2f9
fix: browser-compatability
...
Fix #3453
2019-09-08 11:47:46 +02:00
iCrawl
6e616edc69
chore: keep_classnames literally everywhere
2019-09-08 11:46:47 +02:00
iCrawl
c71454f312
chore: add more voice files to ignore for webpack
2019-09-08 11:46:11 +02:00
Antonio Román
d252ddf9da
docs: Document Message#author as nullable ( #3464 )
...
Fixes #3463
2019-09-08 09:49:10 +02:00
iCrawl
c5cbf8677e
feat(typings): reply overloads for splitmessage
2019-09-06 12:03:21 +02:00
Schuyler Cebulskie
89a3a3a6da
Lowercase webpack (their branding, not mine)
2019-09-04 01:04:31 -04:00
Schuyler Cebulskie
827cab805e
Clean up workflows
2019-09-04 01:02:01 -04:00
BannerBomb
5d95a4b264
fix: Util#splitMessage when destructured ( #3456 )
2019-09-03 16:24:20 +02:00
iCrawl
0a2003095d
ci: consistency in naming
2019-09-03 16:18:56 +02:00
iCrawl
0c14616ffc
ci: reduce the amount of yml files
2019-09-03 16:08:25 +02:00
iCrawl
e7a961781c
ci: add webpack workflow
2019-09-03 16:04:36 +02:00
iCrawl
fe71cecc2a
ci: use the correct command
2019-09-02 13:27:34 +02:00
iCrawl
3ce60212e6
ci: run a lint cronjob every 12h
2019-09-01 15:41:07 +02:00
Schuyler Cebulskie
45af62a621
Update typings for renamed shard events
2019-08-31 17:18:18 -04:00
Schuyler Cebulskie
4b34f1acbe
Remove past-tense naming on shard events
2019-08-31 17:14:48 -04:00
Yukine
9e6a73d1a0
typings(Client): remove 'resume', add 'replayed' parameter to 'shardResumed' ( #3455 )
...
corrected shardResumed & removed old resumed event
2019-08-31 22:17:46 +02:00
Crawl
89d9b0f498
fix(typings): partially revert #3448
2019-08-29 20:16:38 +02:00
izexi
2a3fb705d0
fix(ChannelStore): return existing DMChannels within add() ( #3438 )
...
* fix: return existing DMChannels
* ref: group nested conditions
2019-08-28 11:13:09 +02:00
didinele
745a0ea942
typings(DataStore): correct return types for resolve, resolveID and remove ( #3448 )
...
* fix(typings): DataStore#resolve & DataStore#resolveID can also return null.
* fix(typings): DataStore#remove returns a boolean, not void.
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
2019-08-28 11:11:15 +02:00
Gryffon Bellish
4c08812302
docs(ClientOptions): document unit of restRequestTimeout ( #3449 )
2019-08-26 18:52:30 +02:00
iCrawl
8bbf1a9228
ci: remove leftover docs action
2019-08-25 07:45:45 +02:00
iCrawl
6baff9e3fc
ci: change job name for docs
2019-08-24 22:26:08 +02:00
iCrawl
08dfdcb4eb
ci: deploy docs using new action
2019-08-24 22:17:40 +02:00
iCrawl
57033f3334
ci: add npm install steps
2019-08-24 20:31:12 +02:00
iCrawl
fd49082ac0
ci: run ci in parallel
2019-08-24 20:28:44 +02:00
iCrawl
1511e96761
ci: run docs excluding
2019-08-24 19:45:52 +02:00
iCrawl
4f9e7f4a23
ci: remove travis
2019-08-24 19:32:40 +02:00
Crawl
e8451561ed
ci: github actions ( #3442 )
...
* feat: eslint action
* refactor: actions v2
* fix: set +x for entrypoint
* ci: integrate docs
* fix: give it a nice name
* ci: publish docs
* ci: fix yaml key error
* ci: fix executable
* ci: use normal sh shebang
* ci: move into the workspace
* ci: fix eslint path
* ci: manually run the build
* ci: use different container
* ci: install git
* ci: assume yes flag
* ci: use correct branch
* ci: fix branch and source
* ci: fix condition
* ci: remove useless steps
* ci: rename action
* ci: make executable again
* ci: cleanup
* ci: add stable branch
* ci: remove semi
* ci: do some logging for failing action
* ci: remove actions api
* ci: re-add semi
* ci: use actions repo
* ci: use v1 tags
* ci: remove semi
* chore: change job name passed to eslint
* chore: dummy commit, remove different semi
* ci: change job name
* chore: dummy commit
* ci: add gh-actions as possible branches
* ci: lint all branches
* ci: dummy
* ci: separate pr and push
* chore: run actions on gh branch
* ci: try excluding branches
2019-08-24 19:32:18 +02:00
Amish Shah
c715ed9f8b
voice: remove passes
...
(discord will begin dropping duplicated audio packets from tomorrow, you should not set passes > 1)
2019-08-22 12:15:20 +01:00
Carter
cc488a8bd3
fix: GuildMemberStore#_fetchMany ( #3420 )
...
* added DARK_MODE_INVISIBLE
added another constant color that makes embeds appear invisible on DARK mode.
* travis likes trailing commas
* fix: ref issue: #3414
* fix: removed a random color
2019-08-21 16:52:08 +01:00
Vlad Frangu
5e4f9d436d
src: alphabetize guild features and make sure they're up to date ( #3441 )
2019-08-21 12:52:35 +01:00
Vlad Frangu
fbd811517a
src: Update Webhook#sendSlackMessage to be accurate with what the API returns ( #3429 )
...
* src: Update sendSlackMessage
* typings
2019-08-19 21:02:33 +01:00
Saya
e4309b23d5
feat: abort Requests that takes a lot of time to resolve ( #3327 )
...
* Add Request Timeout
* Add abort controller in packages
* Fix Lint Error.
* Fix Lint Errors
* Make Timeout Customizable & use finally
* Fixed a minor issue
* Fix eslint
* Update request timeout to use d.js client timeout methods.
2019-08-19 18:55:07 +02:00