BannerBomb
4c0426c469
docs: fixed several typings and MessagePayload#create JSDoc ( #6059 )
2021-07-05 22:26:06 +01:00
SpaceEEC
ded93feb57
refactor(PresenceManager): have Presence extend Base and simplify add ( #6056 )
...
* refactor(PresenceManager): have Presence extend Base and simplify add
* style(Presence): add empty line after super call
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-05 19:53:15 +01:00
SpaceEEC
afbd5db404
refactor(Presences): remove from User, nullable on GuildMember ( #6055 )
...
as well as on Client#presenceUpdate
2021-07-05 19:53:00 +01:00
Shubham Parihar
8d9ab741c8
docs(ThreadChannel): fix documentation for setLocked method ( #6053 )
2021-07-05 18:36:25 +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
34708d6d18
fix(SelectMenuInteraction): set values to empty array if not provided ( #6045 )
2021-07-05 13:39:21 +01:00
Antonio Román
1a27f57950
refactor: remove lastMessage properties from User and GuildMember ( #6046 )
2021-07-05 13:11:13 +01:00
monbrey
e3d877d542
fix(Guild): add invite manager property, extend CachedManager ( #6049 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-05 12:16:34 +01:00
BannerBomb
fe5d56c9b1
fix(TeamMember): Fixed incorrect return types. ( #6044 )
2021-07-04 22:55:00 +01:00
DraftMan
9e08b02df2
feat(Managers): ✨ Add GuildInviteManager ( #5889 )
...
Co-authored-by: iShibi <shubhamparihar391@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <SpaceEEC@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: iCrawl <icrawltogo@gmail.com >
2021-07-04 22:53:13 +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
ckohen
b62d646271
docs: add Partial typedef ( #6029 )
2021-07-04 12:25:35 +01:00
Shubham Parihar
d58f0d243c
fix(GuildChannel): use map method on cache not its manager ( #6032 )
2021-07-04 12:25:28 +01:00
monbrey
610b0b4dd6
docs: fix some missed MessageComponent collector methods ( #6023 )
2021-07-04 00:27:07 +01:00
1Computer1
8c7cb0eff8
feat(Managers): add customizable caching for managers ( #6013 )
2021-07-04 00:26:26 +01:00
Almeida
ec06ba7ad0
docs(*): wrap optional properties with union types in parentheses ( #6021 )
2021-07-03 21:00:53 +01:00
Shubham Parihar
4bf49809f2
refactor: improve typings and docs related to threads ( #5991 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-03 20:38:38 +01:00
SkyFlags
7e3001191c
fix(GuildChannel): Add missing 'cache' property ( #6019 )
2021-07-03 19:59:52 +01:00
monbrey
374c779f7f
feat(InteractionCollector): reworked to be more generic ( #5999 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-03 13:35:39 +01:00
Ishmaam Khan
e7ad2fe207
feat: PermissionOverwriteManager ( #5318 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-03 13:24:38 +01:00
SpaceEEC
7dd1a8da08
docs(Collector): properly document endReason ( #6016 )
2021-07-03 13:23:15 +01:00
ckohen
568691ce6a
fix: correct permissions checks and cache on update ( #6015 )
2021-07-03 13:23:01 +01:00
Rodry
4adfc45b5a
docs(CreateInviteOptions): fix TargetType link ( #6017 )
2021-07-03 13:22:35 +01:00
Pravesh Kunwar
1242c5434d
types(VoiceState): fix optional params ( #5993 )
2021-07-03 08:57:41 +01:00
Rodry
fbdad6eac3
docs(*): add class links to isX() methods ( #6007 )
2021-07-02 19:51:59 +01:00
kikorp78
fe6cc0c15d
types(MessageSelectMenu): fix typings ( #5995 )
2021-07-02 00:44:05 +01:00
BannerBomb
726073fef7
docs: WebSocketShard#send and TextBasedChannel#send ( #5998 )
2021-07-02 00:42:11 +01:00
Antonio Román
1e73c25fbf
feat(RoleManager): added edit method, alias Role#edit ( #5983 )
...
Co-authored-by: monbrey <rsm999@uowmail.edu.au >
2021-07-01 22:32:03 +01:00
Adrian Castro
6edf55c04b
fix(ApplicationCommand): fix typo in JSDoc ( #5994 )
2021-07-01 17:35:10 +01:00
monbrey
9ac68670d7
fix(ThreadChannel): check for existence of properties when patching ( #5961 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-01 09:58:20 +01:00
Shubham Parihar
71fb33a5fe
feat(StageChannel): add createStageInstance method & use better naming convention ( #5951 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-01 09:58:11 +01:00
Rodry
f819416bac
docs(MessageSelectMenu): add link to Discord docs ( #5984 )
2021-07-01 09:57:25 +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
Shubham Parihar
b7ed6752ac
feat(Channel): add isThread typeguard for better TS support ( #5978 )
2021-06-30 16:19:59 +01:00
A1ex
58bc1458d0
docs(Message): Add ThreadChannel as a channel type ( #5972 )
2021-06-30 06:24:37 +01:00
monbrey
5e28ff83cb
feat(Interactions): option to auto-fetch replies ( #5831 )
2021-06-29 22:32:33 +01:00
DTrombett
edab5afff9
fix(Thread): make archive_timestamp not nullable ( #5965 )
2021-06-29 20:41:21 +01:00
Papageorgiadis Savvas
87e8cdd3eb
feat(Interaction): add guild guard ( #5955 )
...
* feat(Interaction): add guild guard
* fix: remove possibly uncached getters & duplicate method
* fix: boolean ensuring
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-06-29 20:35:52 +01:00
Shubham Parihar
853be621ac
docs(Channel): fix description of thread channel types ( #5968 )
2021-06-29 20:27:20 +01:00
ckohen
6264c60e97
feat(Managers): new ApplicationCommandPermissionsManager ( #5897 )
...
Co-authored-by: SpaceEEC <24881032+SpaceEEC@users.noreply.github.com >
Co-authored-by: Yoshida Tomio <mail@tomio.codes >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-06-29 19:19:48 +01:00
ckohen
bbc48fdad6
chore(Threads): general fixup and catch up on features ( #5959 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-06-29 18:58:51 +01:00
BannerBomb
5ad83a6a65
fix(Webhook): return void from #delete for consistency. ( #5954 )
2021-06-29 13:25:01 +01:00
BannerBomb
fb8d5166a8
refactor(Presence): remove second assignment of syncID ( #5956 )
2021-06-29 11:50:51 +01:00
Jan
6c447b12e3
fix(Collector): docs and types ( #5937 )
2021-06-29 00:37:45 +01:00
monbrey
41f718f779
docs: drop string from MessageButtonStyleResolvable ( #5944 )
2021-06-29 00:37:38 +01:00
BaumianerNiklas
d3d19ce49b
docs(Webhook): fix thread example in send method ( #5953 )
2021-06-29 00:34:30 +01:00
SkyFlags
dc671c8ac4
fix(Message): Make author of referenced message nullable ( #5929 )
2021-06-28 11:53:53 +01:00
monbrey
b15d825bb3
refactor(MessagePayload): rename APIMessage ( #5921 )
2021-06-27 12:47:15 +01:00
SpaceEEC
630432b4e2
docs(Channel): make the type news_thread an inline code-block ( #5940 )
2021-06-27 12:46:37 +01:00