Commit Graph

5245 Commits

Author SHA1 Message Date
Antonio Román
8c7a28f211 feat(Util): added formatters (#5976) 2021-06-30 09:50:31 +01:00
A1ex
58bc1458d0 docs(Message): Add ThreadChannel as a channel type (#5972) 2021-06-30 06:24:37 +01:00
Mark Fisher
ae37d202a5 types(CommandInteraction): Readd followUp type (#5974) 2021-06-30 06:21:24 +01:00
iCrawl
5842e35881 fix(Typings): erronous RawMessage 2021-06-29 23:38:23 +02:00
monbrey
5e28ff83cb feat(Interactions): option to auto-fetch replies (#5831) 2021-06-29 22:32:33 +01:00
Shubham Parihar
5dfd7dd1bf docs(ThreadManager): fix reason prop of ThreadCreateOptions (#5970) 2021-06-29 22:31:26 +01:00
Jake Ward
3174507d57 types(ThreadManager): add type to ThreadManager#create options (#5969) 2021-06-29 21:03:15 +01:00
DTrombett
edab5afff9 fix(Thread): make archive_timestamp not nullable (#5965) 2021-06-29 20:41:21 +01:00
Antonio Román
1925d01d8f fix(Sharding): strict type context and return (#5933) 2021-06-29 20:36:04 +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
Rodry
706c6eae60 ci: add UNIX timestamp to version number (#5967)
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
2021-06-29 20:27:47 +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
Amish Shah
63a8df1c1f chore(Types): include @discordjs/voice typings (#5941)
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-06-29 18:44:45 +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
Antonio Román
acdcb906ae types(ColorResolvable): change string to #${string} (#5950) 2021-06-29 00:42:54 +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
Peter Maguire
d38b34756b docs(Features): resolved typo in FATEWAY_PRESENCE_LIMITED (#5952)
* Fix documentation typo

* Update index.d.ts
2021-06-29 00:34:43 +01:00
BaumianerNiklas
d3d19ce49b docs(Webhook): fix thread example in send method (#5953) 2021-06-29 00:34:30 +01:00
monbrey
e37ef3af21 types: define ApplicationCommand enums in lib (#5947) 2021-06-28 12:00:07 +01:00
DraftMan
0a0630c049 revert(BitField): Bring back-compatibility after BitField serialization (#5910) 2021-06-28 11:54:14 +01:00
SkyFlags
dc671c8ac4 fix(Message): Make author of referenced message nullable (#5929) 2021-06-28 11:53:53 +01:00
monbrey
03d3a5cdde types: fix remaining Raw type references, update discord-api-types dep (#5942) 2021-06-27 22:48:11 +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
Rodry
e44ae96100 fix(User): fix bot and system properties being incorrect in some cases (#5923) 2021-06-27 12:46:24 +01:00
Antonio Román
985d4d6a43 refactor: removed code and split options (#5918)
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>

BREAKING CHANGE: Removed `APIMessage#split`
BREAKING CHANGE: Removed `MessageEditOptions#code`
BREAKING CHANGE: Removed `BaseMessageOptions#code`
BREAKING CHANGE: Removed `BaseMessageOptions#split`
2021-06-26 23:11:40 +01:00
Jan
0d0c8f07f2 refactor(Collector): make filter an option (#5903)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2021-06-26 10:57:06 +01:00
monbrey
1439183ad3 feat(MessageComponentInteraction): component getter (#5840)
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
2021-06-26 10:55:37 +01:00
Jake Ward
adecead716 fix(ThreadMemberManager): fix ThreadMemberManager#add and ThreadMemberManager#fetch (#5927) 2021-06-26 10:54:37 +01:00
ckohen
6065b11634 types(ThreadMemberManager): fix incorrect usage (#5928) 2021-06-26 10:54:23 +01:00
SpaceEEC
4714a961b8 fix(Webhook): resolve non-string avatars too (#5914) 2021-06-25 11:11:56 +01:00
Jan
261612596d feat(MessageMentions): add repliedUser (#5905) 2021-06-25 11:07:31 +01:00
Rodry
5af2ef5fbc docs(Thread): add links to discord api docs (#5919) 2021-06-25 00:34:10 +01:00
monbrey
75837a8252 docs(MessageSelectMenu): fix options typings (#5922) 2021-06-25 00:33:58 +01:00
monbrey
e5fcf0bee5 feat(MessageSelectMenu): droppybois (#5692)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
2021-06-24 22:25:16 +01:00
BannerBomb
d984ac9d09 Fixed typos from commit #5570 (#5917) 2021-06-24 22:20:57 +01:00
monbrey
ca2a36b1d7 fix(ApplicationCommand): stringType isn't supposed to be sent to the API (#5916) 2021-06-24 21:57:11 +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
monbrey
ea49f7ca74 feat(InteractionCreate): move to an Action handler (#5906) 2021-06-24 20:42:56 +01:00
SpaceEEC
ee025b0558 fix(Permissions): allow admin to override in the missing method (#5911) 2021-06-24 20:42:40 +01:00
Rodry
e0efcc6ab0 docs(*): add links to Discord's API objects & data (#5862) 2021-06-24 09:55:44 +01:00
Pronin Egor
6d3d00b445 fix(InteractionResponses): set replied status on editReply (#5899)
Co-authored-by: Noel <buechler.noel@outlook.com>
Co-authored-by: Noel <icrawltogo@gmail.com>
2021-06-24 00:07:33 +01:00
Shubham Parihar
d930c812bb feat: add missing APIError codes (#5898) 2021-06-24 00:04:55 +01:00
monbrey
bd9f56af9a feat(Interactions): improve error handling for ephemeral responses (#5892)
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com>
2021-06-24 00:03:52 +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
Jan
1816a93b1b refactor: remove exported shortcuts to util methods (#5904) 2021-06-23 10:47:17 +01:00