iCrawl
7fa9ea3f0f
chore: pin discord-api-deps, revert undici
2023-08-17 21:31:04 +02:00
iCrawl
99cadfd82b
chore: deps
2023-08-17 21:08:09 +02:00
Toast
188877c50a
docs: Update Node.js requirement to 16.11.0 ( #9764 )
...
* Update Node.js requirement in README file
* chore: update the rest of files with nodejs 16.11.0
* Update 03-updating-to-v14.mdx
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-08-13 19:49:33 +00:00
Jiralite
a1605b3a5e
build: Update vite and other related dependencies ( #9772 )
...
* build: update vite and other related dependencies
* chore: use `"errors-only"`
2023-08-13 21:36:23 +02:00
iCrawl
8d50f2056d
chore(core): release @discordjs/core@1.0.0
2023-07-31 21:30:19 +02:00
iCrawl
fd8197fe5b
chore: deps
2023-07-30 02:13:39 +02:00
iCrawl
d26e022afc
chore: deps
2023-07-19 11:59:42 +02:00
iCrawl
afa98793cd
chore: deps
2023-07-17 09:45:07 +02:00
David Malchin
bc83cabfda
feat(WebhooksAPI): allow with token requests without bot auth ( #9715 )
...
* Also move `get`'s `token` parameter to options.
2023-07-16 10:25:29 +00:00
Almeida
dc73c938ff
feat: guild onboarding ( #9120 )
...
* feat: guild onboarding
* feat: types and /core method
* fix: route
* fix: make emoji name non-nullable
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-07 21:48:17 +00:00
David Malchin
78381a56cf
feat(ChannelsAPI): add permission overwrites ( #9651 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-06 13:55:29 +00:00
Suneet Tipirneni
6d5840c61e
fix(core): fix inconsistencies on core ( #9680 )
...
* fix(core): fix inconsistencies on `core`
* fix: add `createForumPost` back
* fix: create -> createWebhook
2023-07-06 13:35:10 +00:00
Almeida
766be94b93
chore: bump discord-api-types to 0.37.45 ( #9654 )
2023-06-15 19:06:52 +00:00
Jiralite
2818d7cc1d
fix(client): Add missing application command permissions update event ( #9639 )
...
fix(client): add missing event
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 18:11:00 +00:00
ckohen
8f014c65ef
chore: unpin rest, unbump node version req ( #9632 )
...
* chore: unpin rest, unbump node version req
* chore: update readmes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-13 19:08:35 +00:00
İbrahim
bc2798b8ee
docs: Define /core token in example ( #9586 )
...
* Importing Token
Importing token was missing, so I added it. It is getting the token from configuration file.
It could have been done with defining a constant variable too, but importing makes more sense.
* Updated Token Field to "dotenv"
From now, user's can use dotenv package to keep their Discord client token.
* Referring token as DISCORD_TOKEN
Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com >
---------
Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-09 09:41:07 +00:00
iCrawl
9b06734445
chore: deps
2023-05-23 20:14:15 +02:00
David Malchin
6c7a5ed1e7
fix(api): various fixes for overlooked stuff ( #9588 )
...
* types(GuildsAPI): fix `getWidgetSettings()` result type
* types(GuildsAPI): fix `beginPrune()` result type
* types(GuildsAPI): fix `editAutoModerationRule()` result type
* types(ApplicationCommandsAPI): fix guild application types
* types(GuildsAPI): fix `createTemplate()` body type
* fix(InteractionsAPI): make `followUp()` return the message
According to the Discord docs, creating a followup message is the same as executing a webhook, but *wait is always true*, meaning we always get the message.
* types(WebhooksAPI): fix result types
2023-05-22 07:59:57 +00:00
Jaw0r3k
985def3f25
feat(api): add stage instances ( #9578 )
...
* feat(core): add stage instances
* chore: use one import
* Apply suggestions from code review
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* chore: requested changes
Co-authored-by: David Malchin <malchin459@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: David Malchin <malchin459@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: David Malchin <malchin459@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-19 19:18:33 +00:00
Jiralite
1c4a12c7d6
types: use Snowflake instead of string for snowflakes ( #9583 )
...
fix: use `Snowflake` not `string`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-19 17:33:43 +00:00
David Malchin
3535321b98
fix(GuildsAPI): use level rather than mfa_level when editing MFA ( #9584 )
2023-05-18 17:03:09 +00:00
David Malchin
5d6eed6414
feat(GuildsAPI): add removeMember() ( #9576 )
2023-05-16 09:37:06 +00:00
iCrawl
90e243d350
chore: deps
2023-05-16 00:14:14 +02:00
David Malchin
590f5bc38e
feat(api): add getMemberBans() query options and getMemberBan() ( #9569 )
2023-05-14 07:40:04 +00:00
iCrawl
7c8849fae5
chore: deps
2023-05-12 19:58:51 +02:00
Jiralite
1edd01a7a4
feat(client): Support more request member fields ( #9475 )
...
feat(client): support more request member fields
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-10 16:40:52 +00:00
iCrawl
9ddb3ff71d
chore: deps
2023-05-07 18:04:10 +02:00
ckohen
cdaa0a36f5
refactor(rest): switch api to fetch-like and provide strategies ( #9416 )
...
BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global `fetch`
BREAKING CHANGE: The raw method of REST now returns a web compatible `Respone` object.
BREAKING CHANGE: The `parseResponse` utility method has been updated to operate on a web compatible `Response` object.
BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
BREAKING CHANGE: `DefaultRestOptions` used to contain a default `agent`, which is now set to `null` instead.
2023-05-06 21:09:19 +02:00
iCrawl
d8d21cf370
chore: cloudflare sponsorship
2023-05-05 20:29:10 +02:00
iCrawl
d4f12e0a0c
chore: deps
2023-05-05 14:30:47 +02:00
Jiralite
166c961261
fix(roleConnections): Fix body type for updateMetadataRecords() ( #9516 )
2023-05-05 09:42:12 +02:00
iCrawl
7e875f6919
chore: refactor workspace
2023-05-03 02:14:22 +02:00
iCrawl
c77a1765c4
chore(core): release @discordjs/core@0.6.0
2023-05-01 17:35:40 +02:00
iCrawl
0762ddb3f4
chore: deps
2023-05-01 15:29:51 +02:00
iCrawl
48cab844d4
build: switch to bundler moduleResolution
2023-05-01 13:14:13 +02:00
iCrawl
1ba7394a7d
chore: deps
2023-04-30 09:01:17 +02:00
Jiralite
6212bffa30
docs: Update example usage ( #9461 )
2023-04-27 20:28:44 +02:00
Michael H
1b4d34cebf
chore: Add directory to package.json ( #9456 )
...
* chore: Add directory to package.json
* fix: run fmt
* fix: undo formatting
2023-04-25 14:27:44 +00:00
iCrawl
43e205b840
chore: deps
2023-04-24 19:46:44 +02:00
DD
5d1a4c27d5
feat(core): abstract gateway ( #9410 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-17 20:05:05 +00:00
iCrawl
98a76db482
docs: generate static imports for types with api-extractor
2023-04-17 19:08:01 +02:00
iCrawl
09a9fb57e0
chore(core): release @discordjs/core@0.5.2
2023-04-16 23:02:41 +02:00
iCrawl
025b7aea29
chore(core): release @discordjs/core@0.5.1
2023-04-16 22:58:25 +02:00
Aura Román
0a1701b046
types(ChannelsAPI): use correct type for editMessage ( #9399 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-16 18:27:16 +00:00
Almeida
66dc4014fe
fix(interactions): make data parameter optional ( #9379 )
2023-04-13 22:01:08 +02:00
iCrawl
e5859b41cf
chore: storybook
2023-04-13 19:09:56 +02:00
Jiralite
676307ff5c
fix(core): Support attachment editing on interactions ( #9356 )
...
fix(core): support attachment editing on interactions
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-10 20:35:54 +00:00
iCrawl
3d2f4b405e
chore(guide): bring guide up to speed
2023-04-09 12:41:02 +02:00
iCrawl
f893c6a357
chore: deps
2023-04-07 21:13:36 +02:00
Almeida
6912faa9b3
fix(core): missed optional options ( #9311 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-04 18:37:26 +00:00