Qjuh
df8b6e9934
fix(WebSocketManager): always cache result of fetchGatewayInformation ( #9611 )
...
* fix(WebSocketManager): always cache result of fetchGatewayInformation
* fix: add comment
2023-05-29 18:45:17 +00:00
nopeless
24a61495b9
fix(Client): safe call for possibly null WebSocket ( #9600 )
...
fix(client): safe call for possibly null Websocket
2023-05-26 17:27:17 +00:00
Jiralite
e1b6eeed0e
docs(Client): Correct invite gateway permission checks ( #9597 )
...
docs: correct invite gateway permission checks
2023-05-26 08:18:48 +00:00
Jiralite
53aa24d418
fix(ThreadManager): Ensure fetchActive() only returns active threads in a channel ( #9568 )
...
fix(ThreadManager): revert breaking change
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-25 17:16:48 +00:00
iCrawl
9b06734445
chore: deps
2023-05-23 20:14:15 +02:00
Digital
9345d1b1ac
fix(LimitedCollection): allow items to be stored if keepOverLimit is true when maxSize is 0 ( #9534 )
...
Update LimitedCollection.js
Keep value if it matches the limit.
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-22 08:11:47 +00: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
Aura Román
b85a3f2dde
refactor(collection): reduce reduce's code ( #9581 )
...
* refactor(collection): reduce `reduce`'s code
* fix: resolved bug in tests
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-18 21:05:48 +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
Idris
46167a79d7
refactor(GuildMember): make _roles property non-enumerable ( #9387 )
...
* refactor(GuildMember): make _roles a getter and roles a normal prop
* fix: revert changes
* fix: requested changes
* fix: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-18 10:13:19 +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
Jiralite
7196fe36e8
fix(AutocompleteInteraction): Prevent snake casing of locales ( #9565 )
...
* fix(AutocompleteInteraction): prevent snake casing of locales
* fix: avoid unnecessary overhead ops
Co-authored-by: Aura Román <kyradiscord@gmail.com >
---------
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2023-05-12 22:03:10 +00:00
iCrawl
5351ab429b
build(ui): tree-shake ui components
2023-05-12 20:20:42 +02:00
iCrawl
13073acefc
fix(ui): expose options for discord components
2023-05-12 20:00:02 +02:00
iCrawl
7c8849fae5
chore: deps
2023-05-12 19:58:51 +02:00
Jiralite
d01e8aa8af
docs: Fix broken links to new documentation ( #9563 )
...
docs: fix broken links
2023-05-12 16:54:25 +00:00
DD
4dcc9c50f8
fix(WebSocketShard): handle initial connect being a resume ( #9549 )
...
* fix(WebSocketShard): handle initial connect being a resume
* chore: remove leftover
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-11 17:42:10 +00: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
Jiralite
460ac7dfe2
chore: Add repository directory ( #9552 )
...
chore: add repository directory
2023-05-08 17:12:31 +00:00
Jiralite
64324a8be1
feat: Check for empty directory ( #9539 )
...
* feat: check for empty directory
* fix: correct error
Co-authored-by: space <spaceeec@yahoo.com >
---------
Co-authored-by: space <spaceeec@yahoo.com >
2023-05-08 09:00:09 +02:00
Jiralite
b6162bc5b5
fix: Resolve imports for Windows ( #9546 )
...
fix: windows why
Co-authored-by: DD <didinele.dev@gmail.com >
Co-authored-by: Almeida <almeidx@pm.me >
2023-05-08 08:59:53 +02:00
Jaw0r3k
5b8d535fd6
fix: Non-existing data property ( #9544 )
...
fix: not existed data prop
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-07 19:39:43 +00:00
Almeida
c4a3120354
feat(create-discord-bot): inherit stdio when installing deps ( #9543 )
2023-05-07 19:27:33 +00:00
Jaw0r3k
8482e3c95d
fix(create-discord-bot): Fix start script ( #9542 )
...
fix: not working npm start
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-07 19:08:23 +00:00
Superchupu
12482b70ed
docs: add Cloudflare sponsorship in create-discord-bot readme ( #9540 )
...
chore: add cloudflare sponsorship in `create-discord-bot` readme
2023-05-07 18:47:46 +00:00
iCrawl
fc3f0756a4
chore: configs
2023-05-07 18:26:46 +02:00
iCrawl
3bfb6197a0
chore(create-discord-bot): release create-discord-bot@0.1.0
2023-05-07 18:13:04 +02:00
iCrawl
5ecc4f13b5
chore: re-gen yarn.lock
2023-05-07 18:10:56 +02:00
Jiralite
f83a8a58c9
feat: create-discord-bot ( #9420 )
...
* feat: basic initialisation
* fix: no scope
* chore: add options for issues
* feat: good word, Monbrey
* feat: basic README.md
* fix: no documentation for this
* feat: install for them
* chore: update licencing
* chore: fix year
* fix: build tsup
* feat: add TypeScript option
* feat: add `name` option
* chore: ignore annoying errors
* chore: add tsconfig.json
* refactor: remove name
We can just use the name of the directory instead.
* chore: update cliff jumper rc
* chore: bump dependencies
* chore: bump dependencies
* fix: build in prepack
* fix: configure ESLint correctly
* feat: infer package manager
* docs(packageManager): document `install()`
* fix(packageManager): do not emit a warning for `npm`
* refactor: change project name colour to yellow
* docs(constants): basic documentation
* feat: add link
* chore: add `verbatimModuleSyntax`
* chore: bump discord.js
* refactor: switch to @sapphire/ts-config
* refactor: file name changes
* refactor: tweak description
* chore: update yarn.lock
* fix: add .env
* chore: bump dependencies
* feat: event handler
* refactor: use `default`
* refactor: simpler event
* chore: bump discord.js
* fix: add release script and reorder
* style: reorder package.json
* chore: remove unneeded ignores
* chore: bump minimum Node.js version
* chore: add @types/node to TypeScript package.json
* chore: apply requested changes
Co-authored-by: Noel <buechler.noel@outlook.com >
* style: run ESLint + Prettier
* refactor: prefer "the"
* refactor: remove some comments
* feat: add ESLint + Prettier
* chore: requested changes
Co-authored-by: Noel <buechler.noel@outlook.com >
* chore: more requested changes
Co-authored-by: Noel <buechler.noel@outlook.com >
---------
Co-authored-by: Noel <buechler.noel@outlook.com >
2023-05-07 18:05:26 +02:00
iCrawl
9ddb3ff71d
chore: deps
2023-05-07 18:04:10 +02:00
Superchupu
7ce6bb99e9
chore(deps): pin @discordjs/ws version in discord.js ( #9533 )
...
* chore(discord.js): pin `@discordjs/ws` version
* chore: update lockfile
2023-05-07 16:40:19 +02:00
Synbulat Biishev
227232112d
feat(GuildAuditLogsEntry#extra): add missing channel property ( #9518 )
...
* feat(GuildAuditLogsEntry#extra): add missing `channel` property
* types(GuildAuditLogsEntryExtraField): update
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-05-07 00:55:02 +00:00
Jaw0r3k
37181ab232
perf(Role): improve members getter ( #9529 )
...
perf(Role): improve members
2023-05-06 23:37:43 +00: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
DD
8d5ce32080
fix(proxy-container): docker builds ( #9524 )
2023-05-06 13:59:14 +02:00
iCrawl
5bfcf93e29
chore(discord.js): release discord.js@14.11.0
2023-05-06 11:06:10 +02:00
iCrawl
28f51791a2
chore(ws): release @discordjs/ws@0.8.3
2023-05-06 11:05:18 +02:00
DD
e6274681fd
fix(WebSocketManager): properly emit shard error events ( #9521 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-05 20:17:05 +00:00
DD
00da44a120
fix(WebSocketShard): wait a little before reconnecting ( #9517 )
...
* fix(WebSocketShard): wait a little before reconnecting
* chore: leftover comment
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-05 20:14:53 +00:00
Mateusz Burzyński
ab39683a50
chore: "hide" ./defaultWorker entrypoint with types: null ( #9485 )
...
* fix: move `types` condition to the front
* Update packages/ws/package.json
---------
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-05-05 20:08:12 +00:00
DD
3e80f0b384
tests(ws): fix tests ( #9520 )
2023-05-05 22:01:28 +02:00
Almeida
6b2c3fb9d0
feat(Guild): safety alerts channel and mention raid protection ( #8959 )
...
* feat(Guild): add safety alerts channel and mention raid protection
* docs: add missing tag
* fix: keep other properties in triggerMetadata
* docs(Guild): update example usage
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-05-05 18:39:58 +00:00
iCrawl
d8d21cf370
chore: cloudflare sponsorship
2023-05-05 20:29:10 +02:00
Aura Román
8e9a2b4630
perf(Role): linear speed position getter ( #9493 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-05-05 12:49:00 +00:00
iCrawl
d4f12e0a0c
chore: deps
2023-05-05 14:30:47 +02:00
Jiralite
d7b18f0681
types(StringSelectMenuComponentData): options is required ( #9515 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-05 12:28:39 +00:00