Commit Graph

5430 Commits

Author SHA1 Message Date
Antonio Román
6b2098f7c7 feat(Constants): added more error codes (#6234)
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-08-03 23:14:25 +01:00
ckohen
09471be30e fix(WebSocketShard): mark shard ready if no guilds intent (#6284)
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
2021-08-03 23:13:18 +01:00
Antonio Román
61db5f7618 refactor: added TextBasedChannels type (#6286) 2021-08-03 23:12:51 +01:00
muchnameless
a72b5a355e fix(Action): getChannel interaction DM (#6280) 2021-08-03 23:10:17 +01:00
muchnameless
3c7c82292a refactor(MessageComponents): default setDisabled to true (#6279) 2021-08-03 23:10:04 +01:00
muchnameless
35fa3b3103 docs(Client): mark _finalize as private (#6281) 2021-08-03 00:45:09 +01:00
Timotej Rojko
15aea68946 types(Caches): add GuildStickerManager and GuildInviteManager (#6268) 2021-08-02 19:58:34 +01:00
Rodry
7e0618f17a fix(GuildChannel): setParent not working (#6276)
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
2021-08-02 19:38:30 +01:00
Superchupu
6e0ea020c0 docs: update link of the guide to v13 changes (#6273) 2021-08-02 11:58:21 +01:00
Superchupu
2c452dffb8 docs: add missing semicolon to readme (#6270) 2021-08-02 08:43:36 +01:00
Sugden
e2e4f6518b refactor(*): use async functions (#6210) 2021-08-02 00:47:43 +01:00
Superchupu
626ff85ae7 docs: change example in readme to slash command (#6250)
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-08-01 16:58:41 +01:00
Kevin
7c540764f0 refactor(GuildChannel): use filter method for #members (#6253)
Co-authored-by: ckohen <chaikohen@gmail.com>
2021-08-01 16:58:06 +01:00
Timotej Rojko
774f5b77ec fix(ChannelUpdate): restore accidentally removed line (#6263) 2021-08-01 16:19:44 +01:00
Jiralite
bb56f17760 docs(InteractionResponses): Correct @returns on responses (#6257) 2021-08-01 11:13:29 +01:00
Vlad Frangu
74fc23b3de chore(Deps): update @discordjs/builders (#6259) 2021-08-01 01:42:20 +01:00
ckohen
93e0239c80 fix(Util): fix collection import (#6256) 2021-08-01 01:26:16 +01:00
Vlad Frangu
60028251f7 chore(Deps): update discord-api-type (#6258)
Bite me, Crawl.
2021-08-01 01:25:56 +01:00
ckohen
00c2bf81cd types: use api-types for stricter typings (#6230)
* types: use api-types for stricter typings

* fix: fixes from pr comments

Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com>
Co-Authored-By: Antonio Román <kyradiscord@gmail.com>

* types: bigint not BigInt

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
2021-07-31 22:48:11 +01:00
Jiralite
24931d713b refactor(VoiceState): Change kick to disconnect (#6251) 2021-07-31 21:04:10 +01:00
1Computer1
bb5e648f3d refactor: merge collections with keeping entries at max (#6242) 2021-07-31 21:03:58 +01:00
Rodry
a25e16599a feat(MessageEmbed): add setFields method (#6186)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2021-07-31 13:15:49 +01:00
Rodry
331a9d3ffc feat(ThreadChannel): add fetchOwner() method (#6207)
* feat(ThreadChannel): add owner and fetchOwner()

* fix(ThreadChannel): remove owner and return ThreadMember with fetchOwner

* fix(ThreadChannel): apply suggestions from code review

Co-authored-by: SpaceEEC <spaceeec@yahoo.com>

* fix(ThreadChannel): correctly point to the manager

* docs(FetchOwnerOptions): update desc to mention threads

* fix(ThreadChannel): fetchOwner can return null

* docs(ThreadChannel): owner is nullable

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2021-07-31 13:00:33 +01:00
Suneet Tipirneni
77c72e625f types(ButtonMessageOptions): make button/link button typings more specific (#6212)
* types(ButtonMessageOptions): make button typings more specific

* Update typings/index.d.ts

Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com>

Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com>
2021-07-31 12:59: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
Jiralite
82daee576a docs: Refactor a few @returns descriptions (#6228) 2021-07-31 09:51:34 +01:00
ThumusLive
8b52d06ca9 docs(Widget): Add the typedef WidgetChannel (#6182) 2021-07-31 09:51:20 +01:00
1Computer1
bf221f2bef fix: array/keyArray removed (#6245) 2021-07-31 09:45:33 +01:00
ckohen
797727ab6e docs: update readme node version requirement (#6241) 2021-07-31 09:42:19 +01:00
Vlad Frangu
ee3cdc81dd chore(Deps): update discord-api-types to 0.21.0 (#6237) 2021-07-31 00:21:25 +01:00
Shino
d2757cf899 ci(PublishDev): change version number to be sequential (#6235) 2021-07-31 00:11:22 +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
monbrey
cc5f1ce75e docs(Constants): document the Constants object for enum-like usage (#6208)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2021-07-30 00:04:23 +01:00
ckohen
5f710ae559 refactor(Message): make thread a getter for accuracy (#6215)
* refactor(Message): make thread a getter for accuracy

* docs: reword info block
2021-07-30 00:04:05 +01:00
Jiralite
40b127ee1e docs(Guild): Correct GuildRolePosition typo (#6223) 2021-07-30 00:03:48 +01:00
Jiralite
d310e4fc28 docs(WelcomeChannel): Correct guild return type (#6222) 2021-07-29 12:29:01 +01:00
슈리튬
6b85f900fa fix(TextBasedChannel): Fix MessageCreate handling (#6217) 2021-07-29 11:55:37 +01:00
Kevin
105a194546 docs(Constants): fix StickerTypes typedef (#6218) 2021-07-29 11:53:38 +01:00
A1ex
f44bfc47c7 docs(MessageMentions): fix documentation for members property (#6206) 2021-07-29 11:53:23 +01:00
Jiralite
1009ce169b docs(Guild): Add GuildTextChannelResolvable type definition (#6221) 2021-07-29 11:53:02 +01:00
Jiralite
a69e2f7904 refactor: Match subcommand (group) name casing with Discord's (#6204) 2021-07-29 11:52:06 +01:00
GoldenAngel
4beb64769c chore(Integration): Cleanup removed methods (#6220) 2021-07-29 11:51:47 +01:00
Justin
e000af5c98 feat(WebhookClient): allow creation of clients via URLs (#6192) 2021-07-29 11:48:43 +01:00
SpaceEEC
42a0313034 fix(PermissionOverwrites): throw better error if resolving option fails (#6219) 2021-07-29 11:10:27 +01:00
Justin
be5c0eff34 chore: update discord domain name (#6214) 2021-07-29 02:54:08 +01:00