Antonio Román
a7c6678c72
refactor: change xID to xId ( #6036 )
...
* refactor: change `xID` to `xId`
* Update src/managers/MessageManager.js
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-04 19:54:27 +01:00
monbrey
610b0b4dd6
docs: fix some missed MessageComponent collector methods ( #6023 )
2021-07-04 00:27:07 +01:00
monbrey
374c779f7f
feat(InteractionCollector): reworked to be more generic ( #5999 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-03 13:35:39 +01:00
SpaceEEC
7dd1a8da08
docs(Collector): properly document endReason ( #6016 )
2021-07-03 13:23:15 +01:00
Rodry
fbdad6eac3
docs(*): add class links to isX() methods ( #6007 )
2021-07-02 19:51:59 +01:00
BannerBomb
726073fef7
docs: WebSocketShard#send and TextBasedChannel#send ( #5998 )
2021-07-02 00:42:11 +01:00
Sugden
1e8f01253e
refactor: new node features ( #5132 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-30 21:40:33 +01:00
monbrey
5e28ff83cb
feat(Interactions): option to auto-fetch replies ( #5831 )
2021-06-29 22:32:33 +01:00
Jan
6c447b12e3
fix(Collector): docs and types ( #5937 )
2021-06-29 00:37:45 +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
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
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
Shubham Parihar
6cebeae15e
docs: move embeds field into BaseMessageOptions ( #5902 )
2021-06-22 15:25:18 +01:00
monbrey
9dda9b742f
refactor(awaitMessageComponentInteraction): use options object for lib consistency ( #5852 )
2021-06-15 12:02:48 +01:00
Jiralite
96a4e7b86e
docs: Consistent application name usage ( #5853 )
2021-06-15 12:02:39 +01:00
Tyler Resch
a6dae75d3a
docs(TextBasedChannel#send): update embeds example ( #5857 )
2021-06-15 11:59:53 +01:00
Shubham Parihar
1ac9a2eb5b
refactor(*): make typedefs for all options params ( #5785 )
...
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-06-13 19:32:54 +01:00
Adrian Castro
99ff715137
feat(*): document and support embeds field in message create endpoint ( #5792 )
...
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
2021-06-11 23:45:17 +01:00
Shubham Parihar
a5a6e22316
fix(*): typedefs and typings for image & webhook options ( #5805 )
2021-06-11 23:22:01 +01:00
Almeida
93b0a4e005
fix(TextBasedChannel): allow passing an APIMessage with split ( #5815 )
...
* fix(TextBasedChannel): allow passing an APIMessage with split
* fix(Webhook): allow passing an APIMessage with slit
2021-06-11 22:54:29 +01:00
u9g
fbcbb29884
feat(Util): allow array for StringOptions' char ( #5566 )
...
Co-authored-by: Voltrex <62040526+VoltrexMaster@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Papaia <43409674+papaia@users.noreply.github.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2021-06-10 10:24:45 +01:00
Austrian
35c2225f50
docs(Messages): fix examples in messages after changes in #5758 ( #5791 )
2021-06-09 19:33:07 +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
monbrey
c2b3ed09a0
feat: promisified single interaction collection ( #5770 )
2021-06-08 20:52:27 +01:00
Shubham Parihar
e980948de5
fix(*): add missing imports for custom errors ( #5767 )
2021-06-07 13:09:43 +01:00
Shubham Parihar
4567cd4ca2
docs(InteractionDeferOptions): correctly define the typedef ( #5769 )
2021-06-07 09:33:12 +01:00
monbrey
657635c1c0
fix: add components to MessageOption typedefs ( #5768 )
2021-06-07 09:32:50 +01:00
ckohen
dec191aa1e
feat(Interactions): add InteractionWebhook for better internals ( #5712 )
2021-06-06 00:41:23 +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
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
Shubham Parihar
3589e0f442
docs: add new typedef to properly doc InteractionReplyOptions ( #5632 )
2021-05-26 12:09:25 +01:00
Souji
f831872125
feat(GuildChannel): createInvite target options ( #5514 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Advaith <advaithj1@gmail.com >
2021-05-11 22:25:09 +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
Jan
164ddf668f
refactor: rename Snowflake to SnowflakeUtil ( #5502 )
2021-04-15 00:37:54 +02:00
Jan
06e9d86cb3
feat(Application): application flags ( #5147 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-03-31 21:55:12 +02:00
Jan
8d14ee3540
refactor(Collector): make endReason a getter ( #5271 )
2021-03-28 15:29:39 +02:00
X-Classified
5c4547e84d
docs(TextBasedChannel): indicate that replyTo cannot be system ( #5115 )
2020-12-14 13:54:51 +01:00
Advaith
41078997ae
feat(APIMessage): remove disableMentions ( #4836 )
...
* chore: remove disableMentions
* style: fix eslint
2020-12-14 13:51:31 +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
SpaceEEC
7365f40300
fix(Collector): throw an error if a non-function was provided as filter ( #5034 )
2020-12-08 20:11:44 +01:00
Sugden
3141f7cb04
feat(Guild): add includeApplications option for fetchIntegrations ( #4762 )
2020-08-31 09:17:53 +02:00
Noel
dea48d64a5
chore(Deps): upgrade deps ( #4701 )
2020-08-14 21:46:23 +02:00
Nathan Franke
124afeb843
fix(Collector): support async ( #4123 )
2020-08-11 23:34:47 +02:00
Jan
0e61fca974
docs: make use of MessageResolvable type for bulkDelete ( #4661 )
2020-07-29 12:15:23 +02:00