Sugden
1e8f01253e
refactor: new node features ( #5132 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-30 21:40:33 +01:00
A1ex
58bc1458d0
docs(Message): Add ThreadChannel as a channel type ( #5972 )
2021-06-30 06:24:37 +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
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
Jan
261612596d
feat(MessageMentions): add repliedUser ( #5905 )
2021-06-25 11:07:31 +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
Shubham Parihar
6cebeae15e
docs: move embeds field into BaseMessageOptions ( #5902 )
2021-06-22 15:25:18 +01:00
Tyler Resch
e3ed74a5e8
docs(ReplyMessageOptions,MessageEditOptions): replaced embed with embeds ( #5860 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-18 14:42:53 +01:00
Rodry
671436cbb8
fix(Message): editedTimestamp defaulting to 0 ( #5847 )
2021-06-15 12:02:56 +01:00
monbrey
9dda9b742f
refactor(awaitMessageComponentInteraction): use options object for lib consistency ( #5852 )
2021-06-15 12:02:48 +01:00
monbrey
c4f1c75efa
feat: general component improvements ( #5787 )
2021-06-09 13:59:12 +01:00
Adrian Castro
0467a9075f
refactor: enforce single param on sending/editing methods ( #5758 )
...
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-06-09 13:12:16 +01:00
Jan
ae78a336e1
fix: remove remnants of awaitMessageComponentInteractions ( #5783 )
2021-06-09 08:45:34 +01:00
Souji
65dc00f321
feat(Message): applicationID for interaction responses ( #5765 )
2021-06-07 09:58:38 +01:00
monbrey
657635c1c0
fix: add components to MessageOption typedefs ( #5768 )
2021-06-07 09:32:50 +01:00
monbrey
cbd7f2b9aa
feat(MessageComponents): clickybois (MessageButton, MessageActionRow, associated Collectors) ( #5674 )
...
Co-authored-by: Vicente <33096355+Vicente015@users.noreply.github.com >
Co-authored-by: Shubham Parihar <shubhamparihar391@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
Co-authored-by: Arechi <22101241+Arechii@users.noreply.github.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 >
2021-06-04 16:49:46 +01:00
Shubham Parihar
df9b67894a
docs(Message): fix content param in #edit not showing as nullable ( #5748 )
2021-06-03 23:08:40 +01:00
Shubham Parihar
a2f0c11474
fix(Message): update typings and docs related to #edit ( #5745 )
...
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
2021-06-03 19:18:13 +01:00
Jan
b317d86a93
docs: all the missing object -> Object changes ( #5738 )
2021-06-03 15:57:46 +01:00
Shubham Parihar
678b7da5b3
docs: remove traces of StringResolvable ( #5727 )
2021-06-02 10:55:56 +01:00
Souji
7b85a7259f
feat(*): enforce strings ( #4880 )
...
BREAKING CHANGE: Removes all Resolvables for only string inputs
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-06-01 16:31:49 +01:00
SpaceEEC
b212b64214
feat(Message): allow editing files into messages ( #5718 )
2021-05-31 20:56:26 +01:00
Ed L
7d7d2a53b1
docs(Message): add example for message.reply ( #5332 )
...
Co-authored-by: Papaia <43409674+papaia@users.noreply.github.com >
2021-05-29 15:27:33 +01:00
Shubham Parihar
840ad0a35a
fix(Message): bug in #suppressEmbeds due to #5612 ( #5644 )
2021-05-26 12:09:35 +01:00
Shubham Parihar
3589e0f442
docs: add new typedef to properly doc InteractionReplyOptions ( #5632 )
2021-05-26 12:09:25 +01:00
monbrey
c7334363b3
fix: resolve emoji in Message#react ( #5614 )
2021-05-13 17:48:07 +02:00
SpaceEEC
74e97ef91b
fix(Message): editing with MessageEmbed or APIMessage ( #5612 )
2021-05-11 22:22:48 +02:00
monbrey
c56c4a8dc8
feat(MessageManager): extend API coverage ( #4869 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Advaith <advaithj1@gmail.com >
2021-05-11 00:32:15 +02:00
Shubham Parihar
7ce741dacd
feat(Message): add ReplyMessageOptions for #reply ( #5296 )
2021-05-10 23:58:19 +02:00
ckohen
1ecda83da7
refactor(MessageOptions): move replyTo to reply#messageReference and add failIfNotExists ( #5298 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Shubham Parihar <shubhamparihar391@gmail.com >
2021-05-10 12:27:36 +02:00
monbrey
1398431bca
feat(Message): replace referencedMessage with fetchReference ( #5577 )
2021-05-10 10:56:46 +02:00
Jan
ca9e5a0ee1
feat(Message): allow removing attachments ( #5557 )
2021-05-10 10:56:33 +02:00
Jan
f7643f7bbe
feat: interactions ( #5448 )
...
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Advaith <advaithj1@gmail.com >
Co-authored-by: Shiaupiau <stu43005@gmail.com >
Co-authored-by: monbrey <rsm999@uowmail.edu.au >
Co-authored-by: Tiemen <ThaTiemsz@users.noreply.github.com >
Co-authored-by: Carter <carter@elhnet.net >
2021-05-07 17:22:33 +02:00
Junseo Park
026afc2c1a
feat(Sticker): added Sticker ( #4909 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: monbrey <rsm999@uowmail.edu.au >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com >
Co-authored-by: Advaith <advaithj1@gmail.com >
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Mestery <48163546+Mesteery@users.noreply.github.com >
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
2021-04-30 21:53:25 +02:00
Advaith
f1c0c043b5
feat(Util): make cleanContent take a channel instead of a message ( #5535 )
2021-04-18 18:53:09 +02:00
Jan
164ddf668f
refactor: rename Snowflake to SnowflakeUtil ( #5502 )
2021-04-15 00:37:54 +02:00
Zaid
98b1c58218
fix(Message): update getters to take null permissions into account ( #5066 )
...
* fix(Message): update message#delete
* refactor(Message): message#deletable avoid duplicate call
* Update Message.js
* fix(message): resolve syntax errors
* chore(message): resolve linting issues (death to the gh web panel)
* Update Message.js
* death to the github web panel
* Update src/structures/Message.js
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
2021-01-22 18:02:21 +01:00
Matt (IPv4) Cowley
8c2e6b70b8
refactor(Message): remove stored edit history ( #5155 )
2020-12-30 11:21:34 +01:00
ckohen
2aea7dd921
docs(MessageEditOptions): add the flags parameter ( #5126 )
2020-12-26 10:58:02 +01:00
Jan
75e6dfbfd3
refactor(Message): remove options for Message#delete ( #4999 )
2020-12-14 13:52:04 +01:00
X-Classified
bb78120283
fix(Message): #system non-zero message types are not guaranteed to be system ( #5108 )
...
* fix(Message): #system not all nonzero message types are system
* feat(Message): introduce system message types
* refactor(Constants): change SystemMessageTypes to be exclusionary
* fix(Constants): only need to check if type exists
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
* fix(Constants): lint
* fix(Typings): add SystemMessageTypees to Constants
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
2020-12-12 22:40:39 +01:00
monbrey
60e5a0e46f
feat(Message|TextChannel): Inline replies ( #4874 )
...
* feat(Message): remove reply functionality
* feat(InlineReplies): add INLINE_REPLY constant/typing
* feat(InlineReplies): add Message#replyReference property
* feat(InlineReplies): add typings for sending inline replies
* feat(InlineReplies): provide support for inline-replying to messages
* feat(Message): add referencedMessage getter
* fix: check that Message#reference is defined in referencedMessage
* refactor(InlineReplies): rename property, rework Message resolution
* docs: update jsdoc for inline replies
* feat(Message): inline reply method
* fix(ApiMessage): finish renaming replyTo
* fix: jsdocs for Message#referencedMessage
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com >
* fix: restore reply typings
* fix: dont pass channel_id to API when replying
* chore: update jsdocs
* chore: more jsdoc updates
* feat(AllowedMentions): add typings for replied_user
* fix: naming conventions
* fix(Message): referenced_message is null, not undefined
* fix(MessageMentionOptions): repliedUser should be optional
* chore: get this back to the right state
* fix(ApiMessage): pass allowed_mentions when replying without content
* fix(ApiMessage): prevent mutation of client options
Co-authored-by: almostSouji <timoqueezle@gmail.com >
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com >
2020-12-08 21:08:26 +01:00
anandre
8c8883ef26
Remove Guild#member ( #4890 )
2020-11-22 19:21:01 +01:00
HarmoGlace
b8fd3f65d9
feat(Message): add crosspostable property ( #4903 )
...
Co-authored-by: Advaith <advaithj1@gmail.com >
Co-authored-by: Alex Hîncu <teesealz@gmail.com >
2020-11-01 12:32:20 +01:00
Matt (IPv4) Cowley
c412cd7521
feat(Message): add messageEditHistoryMaxSize to limit stored msg edits ( #4867 )
2020-10-17 15:34:49 +02:00
Ryan Munro
1e63f3756e
fix(Message): use Promise#reject instead of Throw on Message#delete ( #4818 )
2020-09-15 18:35:54 +02:00