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
Johnson Chen
bcb7c721dc
feat(Message): add support for crossposting ( #4105 )
...
Co-authored-by: Advaith <advaithj1@gmail.com >
Co-authored-by: Joe <56809242+Jo3-L@users.noreply.github.com >
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-09-13 12:07:56 +02:00
Sugden
980243f2d5
fix(Partials): correctly set properties as nullable ( #4636 )
2020-08-12 21:26:59 +02:00
Carter
290938bf80
feat: bypass cache check with forceFetch param ( #4592 )
2020-08-12 21:23:04 +02:00
Zaid - Nico
2be68e4125
fix(Message): Message#createdTimestamp uses deconstructed message id to get timestamp ( #4632 )
2020-08-11 21:02:15 +02:00
Souji
bbfc715821
fix(Message): include MessageEmbed type ( #4675 )
2020-08-11 20:56:01 +02:00
Jan
b0e53e9c6d
docs(Message): add NewsChannel type to Message#channel ( #4680 )
2020-08-11 20:53:29 +02:00
Souji
c79ac4d9fc
feat(Message): support pin and unpin with reason ( #4586 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-07-17 10:13:30 +02:00
Phineas
ea19faa411
Change domain to discord.com ( #4160 )
2020-06-19 11:46:59 +02:00
SpaceEEC
a6510d6a61
revert "chore(docs): example for timeout in message.delete()" ( #4167 )
2020-05-07 23:39:45 +02:00
anandre
b385aedf36
chore(docs): example for timeout in message.delete() ( #4165 )
2020-05-05 22:41:41 +02:00
Souji
863a70918a
docs(Message): add timeout to Message#delete example ( #4090 )
2020-04-18 12:16:19 +02:00
SpaceEEC
a8db9884d5
feat(Message): add allowedMentions to MessageEditOptions ( #4071 )
2020-04-16 09:27:19 +02:00
SpaceEEC
9e4c39ae53
fix(Message): update MessageMention's roles on message edit ( #4016 )
2020-04-03 21:30:49 +02:00