Commit Graph

1592 Commits

Author SHA1 Message Date
슈리튬
913c9fa176 fix(Message): fix thread getter (#6309)
For ThreadChannel, errors occur because channel.threads do not exist.
2021-08-06 08:44:56 +01:00
Rodry
f473f43d08 feat(Collector): return a boolean on checkEnd (#6289) 2021-08-05 20:34:17 +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
Jan
4241febe24 refactor(Interaction): rename defer to deferReply (#6306) 2021-08-05 17:30:13 +01:00
DaStormer
5b4efd13c9 feat(Channel): add isVoice() (#6297) 2021-08-05 16:41:06 +01:00
Bluenix
b639b6c653 refactor(InteractionCollector): only keep Ids of objects (#6084)
Co-authored-by: monbrey <rsm999@uowmail.edu.au>
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-08-05 16:40:23 +01:00
monbrey
3eb41405f4 fix(BaseGuildTextChannel): call patch (#6298) 2021-08-04 23:45:26 +01:00
monbrey
5be471b47d refactor(Channels): fix incorrectly shared properties (#6262)
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2021-08-04 21:55:31 +01:00
Souji
6e3236ab64 fix(Message): make #channel and #guild getters (#6271) 2021-08-04 21:47:32 +01:00
Antonio Román
61db5f7618 refactor: added TextBasedChannels type (#6286) 2021-08-03 23:12:51 +01:00
muchnameless
3c7c82292a refactor(MessageComponents): default setDisabled to true (#6279) 2021-08-03 23:10:04 +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
Sugden
e2e4f6518b refactor(*): use async functions (#6210) 2021-08-02 00:47:43 +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
Jiralite
bb56f17760 docs(InteractionResponses): Correct @returns on responses (#6257) 2021-08-01 11:13:29 +01:00
Jiralite
24931d713b refactor(VoiceState): Change kick to disconnect (#6251) 2021-07-31 21:04:10 +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
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
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
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
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
SpaceEEC
42a0313034 fix(PermissionOverwrites): throw better error if resolving option fails (#6219) 2021-07-29 11:10:27 +01:00
ckohen
68725476b3 fix(Channel): add default for destructured options (#6203) 2021-07-28 21:31:59 +01:00
ckohen
26ba0e1036 feat(GuildAuditLogs): add threads (#6195) 2021-07-28 20:05:01 +01:00
Jiralite
5e433b5995 docs(InteractionResponses): Document missing properties (#6178) 2021-07-28 01:30:22 +01:00
ckohen
9679b90872 fix(ThreadChannel): better property handling (#6172) 2021-07-28 01:29:06 +01:00
Advaith
b22272f860 feat(Guild): add fetchWidget() for getting widget data (#6180) 2021-07-27 11:15:31 +01:00
Advaith
2f1cc1fc27 feat(ApplicationCommandOptionType): add NUMBER (10) (#6128) 2021-07-27 11:12:43 +01:00
Tiemen
4886ae23ab refactor: only cache commands from own user (#6161) 2021-07-23 20:19:17 +01:00
Shino
690c121aa9 feat(CommandInteractionOptionResolver): add sub-command required option (#6165) 2021-07-23 20:17:34 +01:00
Jiralite
c8ca7bfd2c fix(GuildAuditLog): Assert target to null upon not finding invite codes (#6171) 2021-07-23 01:17:02 +01:00
ckohen
870a0de53c fix(Message): fix typo in sticker_items (#6173) 2021-07-22 22:55:47 +01:00
Jiralite
5e706941fc docs(CommandInteraction): Correct type definition of CommandInteractionOption (#6169) 2021-07-22 12:56:44 +01:00
ckohen
cd47a524af refactor(Message): combine patch methods (#6071) 2021-07-22 09:05:38 +01:00
Shino
328501bd8e refactor(CommandInteractionOptionResolver): add readonly data property (#6156) 2021-07-21 22:22:47 +01:00
Apokalypt
07017a9699 fix(Sticker): replace 'this.guildID' (undefined) by 'this.guildId' in fetchUser (#6160)
Co-authored-by: Apokalypt <enterprise@apokalypt.fr>
2021-07-21 08:39:17 +01:00
Jan
5addcd15d8 refactor(OptionResolver): accept single type instead of an array (#6154) 2021-07-20 20:20:20 +01:00
monbrey
02f55f0971 fix(CommandInteractionOptionResolver): type should be USER (#6148) 2021-07-20 01:46:38 +01:00