iCrawl
1f86d8578a
chore: deps
2023-02-27 21:55:46 +01:00
DD
9681f34877
fix(WebSocketShard): proper error bubbling ( #9119 )
...
* fix(WebSocketShard): proper error bubbling
* fix(WebSocketShard): proper success signaling from waitForEvent
* refactor(waitForEvent): better error bubbling behavior
* fix(WebSocketShard): still allow the first connect call to reject
* fix(WebSocketShard): handle potential once error in #send
* refactor(WebSocketShard): waitForEvent & bubbleWaitForEventError
* refactor: success signaling
* chore: bump async EE to allow overwriting the error event
2023-02-19 19:28:34 +00:00
Mohamed Ashraf
c6f9c50ba9
feat(core): Adds getWebhooks() function for the channel API and for the guild API ( #9043 )
...
* feat(core): Adds `getChannel()` for webhooks
* feat(core): add `getWebhooks()` function for the channel and the guild
* Update packages/core/src/api/guild.ts
Co-authored-by: Almeida <almeidx@pm.me >
* Update packages/core/src/api/channel.ts
Co-authored-by: Almeida <almeidx@pm.me >
* Update packages/core/src/api/channel.ts
Co-authored-by: Almeida <almeidx@pm.me >
* Update packages/core/src/api/guild.ts
Co-authored-by: Almeida <almeidx@pm.me >
* Update packages/core/src/api/guild.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/core/src/api/channel.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* sorting the types
---------
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: space <spaceeec@yahoo.com >
2023-02-17 23:35:44 +00:00
Almeida
483cbb3b2a
fix(oauth2): pass through body ( #9106 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-02-17 20:18:13 +00:00
Jiralite
d44a6f035c
chore: bump discord-api-types and undici ( #9140 )
...
* chore: update discord-api-types to 0.37.35
* fix: exclude stage channels for now
* chore: update undici
* chore: dedupe undici
2023-02-17 19:17:08 +00:00
Suneet Tipirneni
56ef3ad8a0
ci: update scripts for documentation changes ( #9055 )
...
* ci: update scripts for documentation changes
* refactor: use tsconfig files
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-17 19:15:01 +00:00
Superchupu
1831acaffb
chore: switch tsup config to typescript ( #9057 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-13 09:44:56 +00:00
Suneet Tipirneni
f6506e99c4
feat(website): add support for source file links ( #9048 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2023-01-12 13:49:11 +01:00
iCrawl
a4f2f1b5a5
chore: deps
2023-01-12 10:36:48 +01:00
iCrawl
8dfd0037b5
chore: deps
2023-01-10 18:32:57 +01:00
Suneet Tipirneni
158db474b7
types: fix GuildsAPI#getMembers return type ( #9037 )
...
* types: fix GuildsAPI#getMembers return type
* chore: make requested changes
2023-01-10 16:03:54 +00:00
Suneet Tipirneni
816aed478e
feat(core): implement some ws send events ( #8941 )
...
* feat(core): implement some ws send events
* fix: check guild id and add a timeout
* fix: only check for nonce
* chore: update readme
* chore: make requested changes
* chore: make methods consistent
* chore: fix readme example
* chore: move shard ID calculation to util
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-05 22:06:50 +00:00
Suneet Tipirneni
36560c9955
feat(core): add oauth2 api support ( #8938 )
...
* feat(core): add oauth2 api support
* chore: remove return tag
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 19:53:56 +00:00
iCrawl
19519ec9fc
chore(core): release @discordjs/core@0.3.0
2022-12-16 14:10:45 +01:00
iCrawl
166f742d02
fix(core): instantiate/export role connections
2022-12-16 14:09:51 +01:00
iCrawl
7a61004627
chore(core): release @discordjs/core@0.2.0
2022-12-16 03:59:25 +01:00
Suneet Tipirneni
3d6fa248c0
feat(core): Add support for role connections ( #8930 )
2022-12-16 03:32:00 +01:00
Almeida
73300c75fa
feat: add links to each routes documentation ( #8898 )
2022-12-07 16:32:55 +00:00
Almeida
3dede75621
fix(thread): get() route ( #8897 )
...
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-07 14:27:01 +00:00
Almeida
3f555d5ddf
feat(interactions): add messageId parameter to deleteReply() ( #8896 )
2022-12-07 14:23:42 +00:00
iCrawl
52f56d3c2e
chore: deps
2022-12-01 21:01:19 +01:00
Almeida
7430c8e4c8
fix: remove casts when using makeURLSearchParams() ( #8877 )
2022-11-28 22:22:02 +01:00
Suneet Tipirneni
2127b32d26
feat: Add @discordjs/core ( #8736 )
...
* feat: add @discordjs/core
* chore: lint
* chore: add all gateway events
* chore: add the rest of the rest routes
* chore: cleanup gateway
* chore: rename gateway to client
* chore: rename gateway to client
* fix: don't spread unless we need to
* refactor: use classes and make requested changes
* chore: show shardId on emit
* chore: add interface for intrinsic props
* refactor: scope dispatch data instead of spreading
* chore: add utility for uploading files for messages and interactions
* feat: finish up form data handling
* chore: add readme
* chore: update api-extractor stuff
* chore: bump deps
* chore: make requested changes
* chore: make requested changes
* Update package.json
* chore: make requested changes
* fix: add missing interaction responses
* chore: make some requested changes
* chore: remove `return await`
* chore: use autoModeration instead of automod
* refactor: use snowflakes and -types results
* chore: sort imports, fix return type on editUserVoiceState
* chore: rename bots to users
* feat: add automod dispatch events
* refactor: move templates and members into guild
* fix: use users instead of bots in api class
* chore: imports
* chore: make requested changes
* fix: don't make files required on interaction replies
* fix: rename sendMessage to createMessage
* feat: add application command routes
* feat: add webhook.execute overloads and options to invites.get
* chore: use create prefixes
* chore: seperate interaction params
* chore: use Id
* chore: make requested changes
* chore: make requested changes
* chore: make requested changes
* chore: for -> from
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/core/README.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: make requested changes
* chore: update -types
* chore: bump vitest
* fix: sticker uploading
* fix: lockfile
* chore: make requested changes
* chore: make requested changes
* Update packages/core/src/api/applicationCommands.ts
Co-authored-by: Almeida <almeidx@pm.me >
* Apply suggestions from code review
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* Update packages/core/README.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: almeidx <almeidx@pm.me >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-27 21:23:13 +00:00