Almeida
531b46c60d
refactor: use the node: protocol ( #6710 )
2021-10-02 13:40:02 +02:00
Rodry
00bd92a451
refactor: ES2021 features ( #6540 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-09-03 12:58:01 +01:00
HyRo
9a833b1e0e
fix(BaseClient): Remove selfbot ability ( #6429 )
2021-08-16 08:30:35 +01:00
Jiralite
570fba33d3
chore: Rename various stuff to "main" ( #6343 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-08-08 00:08:00 +01:00
Rodry
b4afcf8236
docs: general cleanup and improvements ( #6299 )
...
Co-authored-by: DaStormer <40336269+DaStormer@users.noreply.github.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-08-05 20:34:06 +01:00
muchnameless
35fa3b3103
docs(Client): mark _finalize as private ( #6281 )
2021-08-03 00:45:09 +01:00
Sugden
e2e4f6518b
refactor(*): use async functions ( #6210 )
2021-08-02 00:47:43 +01:00
1Computer1
bb5e648f3d
refactor: merge collections with keeping entries at max ( #6242 )
2021-07-31 21:03:58 +01:00
1Computer1
00bae4fe6b
refactor: remove extended collection ( #6246 )
...
Co-authored-by: iCrawl <buechler.noel@outlook.com >
2021-07-31 12:08:59 +01:00
ckohen
dbb59ba1b2
feat(Util): add SweptCollection for auto sweeping of caches ( #6110 )
...
Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com >
Co-authored-by: 1Computer1 <22125769+1Computer1@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: NotSugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Shino <shinotheshino@gmail.com >
Co-authored-by: SpaceEEC <24881032+SpaceEEC@users.noreply.github.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-30 22:57:46 +01:00
Advaith
b22272f860
feat(Guild): add fetchWidget() for getting widget data ( #6180 )
2021-07-27 11:15:31 +01:00
Advaith
54d6a3a070
feat(Sticker): updates, sticker packs, and guild stickers ( #5867 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Tiemen <ThaTiemsz@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-07-20 00:17:21 +01:00
Antonio Román
5ca97c9351
refactor: remove timer utilities from Client ( #6113 )
2021-07-16 13:31:25 +01:00
Joey Smalen
f200f14a40
feat(REST): append additional information to the required User Agent ( #6112 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-16 12:27:12 +01:00
Shino
4206e35b23
feat(Client): add conditional ready typings ( #6073 )
2021-07-14 16:19:38 +01:00
PanSzelescik
28c57246d1
feat(Message): add 'failIfNotExists' to ClientOptions ( #6038 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-05 13:53:40 +01:00
monbrey
c6e5521687
feat(Client): enforce passing scopes to generateInvite ( #6024 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-04 22:53:57 +01:00
Antonio Román
a7c6678c72
refactor: change xID to xId ( #6036 )
...
* refactor: change `xID` to `xId`
* Update src/managers/MessageManager.js
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-04 19:54:27 +01:00
1Computer1
ab0b3b9a07
fix(Structures): remove Structures ( #6027 )
2021-07-04 12:26:35 +01:00
1Computer1
8c7cb0eff8
feat(Managers): add customizable caching for managers ( #6013 )
2021-07-04 00:26:26 +01:00
Sugden
1e8f01253e
refactor: new node features ( #5132 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-30 21:40:33 +01:00
ThumusLive
038ee99604
feat(Widget): wrapper for widget.json ( #5619 )
...
Co-authored-by: monbrey <rsm999@uowmail.edu.au >
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2021-06-15 12:02:18 +01:00
Antonio Román
9e5106d90e
docs: removed topics and FAQ from the repository ( #5820 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: ckohen <chaikohen@gmail.com >
2021-06-11 23:41:49 +01:00
SpaceEEC
eb98e33a85
fix(Webhook): throw an error if no token is available when it's required ( #5798 )
2021-06-10 17:05:45 +01:00
Ven
16f261e773
feat(Rest): optional ratelimit errors ( #5659 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-06-09 08:45:04 +01:00
Souji
bf191df9c0
feat(Client): make use of with_expiration in #fetchInvite ( #5764 )
2021-06-07 09:58:26 +01:00
Synbulat Biishev
668cd471a1
fix(Client) added a forgotten keyword "this" ( #5598 )
2021-05-11 22:23:27 +02:00
Alec Woods
9d2d60691e
feat(Rest): better handling of global rate limit and invalid request tracking ( #4711 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com >
Co-authored-by: Papaia <43409674+Papaia@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-03-31 21:56:58 +02:00
Jan
06e9d86cb3
feat(Application): application flags ( #5147 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-03-31 21:55:12 +02:00
Sugden
ee5bc1a5c4
refactor: switch api and gateway to V8 ( #4879 )
...
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
2021-02-11 18:10:35 +01:00
ckohen
ae3c3d80ee
feat(Client): add InviteGenerationOptions#additionalScopes ( #5215 )
...
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-02-10 15:52:44 +01:00
Matt (IPv4) Cowley
aaed72b723
refactor(Client): remove fetchAllMembers option ( #5257 )
...
* feat(Client): remove fetchAllMembers option & logic
* Cleanup
* Missed type change
2021-01-27 11:27:50 +01:00
Papaia
9ffcd83027
docs(BitFields): remove string from BitFieldResolvable ( #5122 )
...
* refactor(BitFields): remove string from BitFieldResolvable
* docs(Client#generateInvite): fix indentation in example
* chore: resolve conflict
* refactor: revert breaking changes
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com >
2021-01-24 11:52:35 +01:00
Matt (IPv4) Cowley
8c2e6b70b8
refactor(Message): remove stored edit history ( #5155 )
2020-12-30 11:21:34 +01:00
Noel
0a591a9697
feat(Browser): remove browser � ( #5113 )
2020-12-14 13:56:16 +01:00
Advaith
41078997ae
feat(APIMessage): remove disableMentions ( #4836 )
...
* chore: remove disableMentions
* style: fix eslint
2020-12-14 13:51:31 +01:00
Mirdukkk
9c7fe34c50
fix: add presence to ClientPresence from ClientOptions ( #5041 )
2020-12-13 03:14:23 +01:00
Jan
5b51392724
refactor(Client): improve generateInvite() ( #5065 )
...
* cleanup(Client): improve generateInvite()
* fix: you actually do need to fetch the application
2020-12-12 22:38:57 +01:00
Advaith
2685b960d7
docs(Client): #emojis is a BaseGuildEmojiManager ( #5048 )
2020-12-08 22:07:06 +01:00
Jan
8d650a7250
feat: BaseGuildEmojiManager ( #4934 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2020-11-22 19:48:30 +01:00
izexi
2b2994badc
feat: add support for guild templates ( #4907 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2020-11-21 15:09:56 +01:00
Matt (IPv4) Cowley
c412cd7521
feat(Message): add messageEditHistoryMaxSize to limit stored msg edits ( #4867 )
2020-10-17 15:34:49 +02:00
Sugden
46acfac327
refactor(Client): remove non-existant property from toJSON ( #4750 )
2020-08-28 14:18:17 +02:00
Sugden
727b29c85d
feat(Client): allow options for generateInvite ( #4741 )
2020-08-28 14:17:37 +02:00
Advaith
57ca3d7843
feat(Guild): updates for Community guilds ( #4377 )
...
Co-authored-by: SpaceEEC <spaceeec@users.noreply.github.com >
2020-08-12 12:21:17 +02:00
Jan
9d747d14c5
docs(Client): fix docs for login method ( #4350 )
2020-08-11 23:36:25 +02:00
SouSinner
88133d0d77
feat(GuildPreview): implement support for "preview" endpoint ( #3965 )
...
* feat(GuildPreview): method — fetchGuildPreview
* feat(GuildPreview): structure — GuildPreview
* feat(GuildPreview): update typings
* fix(GuildPreview): remove typedef for Features — already exists
* refactor(GuildPreview): update JSDocs & method
* feat(GuildPreview): implement DiscoverySplash function
* fix(GuildPreview): description & error handling for id
* fix(GuildPreview): misleading description, assign emojis correctly
* feat(GuildPreview): func DisplaySplash & GuildPreviewEmoji interface
* fix(Typings): satisfy TSLint
* fix(GuildPreview): toJSON - returns a value now
* feat(GuildPreview): add fetchPreview method on instance of Guild
* feat(GuildPreview): update typings
* fix: missing client constructor
* fix: typo in typings
* feat(BaseEmoji): implement BaseEmoji — parent for emoji instances
* feat(BaseEmoji): refactor - GuildEmoji extends BaseEmoji now
* feat(BaseEmoji): refactor - adjust emojis prop to BaseEmoji instance
* feat(BaseEmoji): not documented fully - GuildPreviewEmoji
* feat(BaseEmoji): update typings
* fix: remove duplicate typing properties - inherited
* fix: remove redundant methods & properties - inherited / already set
* fix: let -> const
* fix: typings - put BaseEmoji after BaseClient
* fix: remove _clone method - redundant
* refactor(GuildPreview): emojis should be a collection
* refactor: rename base class, move relevant props there and expose roles
* fix(GuildPreview): update emojis in _patch
* fix(Typings): remove empty line, add Client#fetchGuildPreview
* feat: export GuildPreview
* fix(Typings): add GuildPreview#discoverSplash, icon, and splash
Co-authored-by: LxveFades <twitchisadeck@gmail.com >
Co-authored-by: Crawl <icrawltogo@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-03-27 20:57:28 +01:00
Souji
8a2f8938be
feat: Intents bitfield ( #3844 )
...
* feat: Intents bitfield
* suggestion: properly construct Intents.ALL
* fix: actually document the ws option
* suggestion: remove disabledEvents in favor of intents
* suggestion: remove obsolete check, validate falsy values
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* fix: GUILD_BANS flag
* fix: exception for intents check in ws options
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* docs: IntentsResolvable
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* Update Client.js
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Crawl <icrawltogo@gmail.com >
2020-02-29 15:20:15 +01:00
Crawl
c065156a88
chore: consistency/prettier ( #3852 )
...
* chore: consistency/prettier
* chore: rebase
* chore: rebase
* chore: include typings
* fix: include typings file in prettier lint-staged
2020-02-29 14:35:57 +01:00
Papa
9c8aaf1bbc
feat: reimplement disableEveryone into disableMentions
...
* User input sanitation: reimplement disableEveryone into disableMentions
* Change default value of ClientOptions#disableMentions to 'none'
* Update type declarations of disableMentions to include default
* update for compliance with ESLint
* Overlooked these files. Updated for complete compliance with ESLint
2020-02-29 14:20:39 +01:00