1Computer1
bb5e648f3d
refactor: merge collections with keeping entries at max ( #6242 )
2021-07-31 21:03:58 +01:00
Rodry
434e330754
refactor(Message): accept a single object instead of 3 arguments ( #6244 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-07-31 12:22:19 +01:00
ckohen
198a5c490d
refactor: move member adding to manager ( #6231 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-07-31 12:21:47 +01:00
ckohen
2a07055cc0
refactor: use guild-wide route for fetching active threads ( #6193 )
...
Co-authored-by: SpaceEEC <24881032+SpaceEEC@users.noreply.github.com >
2021-07-31 12:19:41 +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
Jiralite
65ae06429d
refactor: Strengthen channel typings in appropriate places ( #6232 )
2021-07-31 09:52:41 +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
Jiralite
2675b0866c
docs(GuildManager): Correct GuildCreateOptions typo ( #6224 )
2021-07-30 00:04:45 +01:00
Jiralite
f060a3fcd7
fix: Use string instead of Snowflake for invites ( #6202 )
2021-07-28 20:04:51 +01:00
ckohen
9679b90872
fix(ThreadChannel): better property handling ( #6172 )
2021-07-28 01:29:06 +01:00
Tiemen
4886ae23ab
refactor: only cache commands from own user ( #6161 )
2021-07-23 20:19:17 +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
eeehh
c40c0f934a
fix(GuildChannel): only fetch invites for the specific channel ( #6132 )
2021-07-18 19:16:48 +01:00
Antonio Román
5ca97c9351
refactor: remove timer utilities from Client ( #6113 )
2021-07-16 13:31:25 +01:00
SpaceEEC
f72ce7c136
fix(GuildChannel): clone its PermissionOverwriteManager too ( #6083 )
2021-07-10 13:15:20 +01:00
Rodry
6301728d35
refactor(Channel): change channel types to UPPER_CASE ( #6035 )
2021-07-08 21:32:19 +01:00
BannerBomb
c1eaa78ab7
typings(GuildInviteManager): FetchInvitesOptions ( #6076 )
2021-07-08 15:39:23 +01:00
1Computer1
9cd5e7ed61
refactor(Managers): rename add to _add ( #6060 )
2021-07-08 11:34:45 +01:00
DTrombett
58bbcd591e
types(ApplicationCommand): fix option name ( #6067 )
...
* types(ApplicationCommand): fix option name
* fix(ApplicationCommand): update tests
* fix(ApplicationCommand): fix error param
2021-07-07 13:41:47 +01:00
Antonio Román
98a5b52d8b
refactor(ApplicationCommandManager): remove unused assignment ( #6063 )
2021-07-07 13:41:02 +01:00
Antonio Román
4eb3a2a885
refactor: rename Constants.OPCode to Opcode, moved objects to enums ( #6065 )
2021-07-07 13:40:36 +01:00
ckohen
755c180659
feat: allow channels from uncached guilds to be returned from fetch ( #6034 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-07-06 13:04:26 +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
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
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
Shubham Parihar
db60e367b4
docs(MessageManager): document options param for #edit as required ( #6031 )
2021-07-04 12:25:59 +01:00
monbrey
8077e4f4f1
fix(PermissionOverwriteManager): pass ID to API correctly ( #6026 )
2021-07-04 00:26:44 +01:00
1Computer1
8c7cb0eff8
feat(Managers): add customizable caching for managers ( #6013 )
2021-07-04 00:26:26 +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
Ishmaam Khan
e7ad2fe207
feat: PermissionOverwriteManager ( #5318 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-03 13:24:38 +01:00
ckohen
568691ce6a
fix: correct permissions checks and cache on update ( #6015 )
2021-07-03 13:23:01 +01:00
Tobias Peltzer
e4be666c2c
fix(ThreadManager): fixed wrong private and fetchAll check ( #6012 )
2021-07-03 08:56:35 +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
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
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
f108746c15
docs(ThreadManager): fix FetchedThreads typedef and startMessage ( #5971 )
2021-06-30 17:20:01 +01:00
Shubham Parihar
5dfd7dd1bf
docs(ThreadManager): fix reason prop of ThreadCreateOptions ( #5970 )
2021-06-29 22:31:26 +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
monbrey
b15d825bb3
refactor(MessagePayload): rename APIMessage ( #5921 )
2021-06-27 12:47:15 +01:00
Jake Ward
adecead716
fix(ThreadMemberManager): fix ThreadMemberManager#add and ThreadMemberManager#fetch ( #5927 )
2021-06-26 10:54:37 +01:00
ckohen
7346621d15
feat: api v9 and threads ( #5570 )
...
Co-authored-by: Noel <icrawltogo@gmail.com >
Co-authored-by: Amish Shah <dev@shah.gg >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: SynthGhost <60333233+synthghost@users.noreply.github.com >
Co-authored-by: SpaceEEC <24881032+SpaceEEC@users.noreply.github.com >
Co-authored-by: Elliot <elliot@maisl.fr >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-06-24 20:48:29 +01:00
Rodry
e0efcc6ab0
docs(*): add links to Discord's API objects & data ( #5862 )
2021-06-24 09:55:44 +01:00
monbrey
2d7c12b0e9
fix(Message): flags not being parsed on some edits ( #5886 )
...
* fix(Message): flags not being parsed on some edits
* refactor(MessageManager): access cache once
2021-06-24 00:02:30 +01:00
Souji
44e2ee7b20
feat(WelcomeScreen): welcome screens ( #5490 )
...
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-06-19 16:44:45 +01:00
Shubham Parihar
f7eeccba4b
feat(*): use enums for consistency and speed ( #5843 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-15 12:33:31 +01:00
Shubham Parihar
918921e821
feat: stage instances ( #5749 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-14 12:57:37 +01:00
Shubham Parihar
1ac9a2eb5b
refactor(*): make typedefs for all options params ( #5785 )
...
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-06-13 19:32:54 +01:00