Skillz4Killz
9d5b8df60d
e2e test stuff ( #2754 )
...
* fix: readme runtime list
* Fix code style issues with ESLint
* node 18
* fix: websocket import type
* fix: body for interaction requests
* fix: perma fix for type error in ci
* fix: followupmessage option type
* fix: e2e tests exit bug
* fix: color console logger
* fix: image file sending
* Fix code style issues with ESLint
* guild and role methods
* Fix code style issues with ESLint
* fix: dont send heartbeat if socket is not open
* fix: remove logs
* fox: remove more logs
* fix some bugs in role tests
* Switch to after hook style
* hoti's speed snaker
* auto convert objects for discord
* Fix code style issues with ESLint
* fix: remove dup imports
* fix: i hate linters
* speeder
---------
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
2023-02-01 14:20:49 -06:00
Jonathan Ho
e05a65c4de
ci: add bot package ( #2752 )
...
* ci: add bot package
* ci: fix test
2023-01-31 13:12:40 -06:00
Skillz4Killz
7658ebbeb4
fix: guild and role methods ( #2751 )
...
* fix: readme runtime list
* Fix code style issues with ESLint
* node 18
* fix: websocket import type
* fix: body for interaction requests
* fix: perma fix for type error in ci
* fix: followupmessage option type
* fix: e2e tests exit bug
* fix: color console logger
* fix: image file sending
* Fix code style issues with ESLint
* guild and role methods
* Fix code style issues with ESLint
---------
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
2023-01-30 20:00:09 -06:00
Skillz4Killz
38802b1c34
fix: rest sending attachments files ( #2749 )
...
* fix: readme runtime list
* Fix code style issues with ESLint
* node 18
* fix: websocket import type
* fix: body for interaction requests
* fix: perma fix for type error in ci
* fix: followupmessage option type
* fix: e2e tests exit bug
* fix: color console logger
* fix: image file sending
* Fix code style issues with ESLint
---------
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
2023-01-29 15:58:36 -06:00
Skillz4Killz
f5f97e0e59
fix: e2e exit bug ( #2748 )
...
* fix: readme runtime list
* Fix code style issues with ESLint
* node 18
* fix: websocket import type
* fix: body for interaction requests
* fix: perma fix for type error in ci
* fix: followupmessage option type
* fix: e2e tests exit bug
* fix: color console logger
---------
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
2023-01-29 00:14:31 -06:00
Skillz4Killz
de31b44dba
fix: interaction followup type ( #2747 )
...
* fix: readme runtime list
* Fix code style issues with ESLint
* node 18
* fix: websocket import type
* fix: body for interaction requests
* fix: perma fix for type error in ci
* fix: followupmessage option type
---------
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
2023-01-28 20:48:21 -06:00
Skillz4Killz
523ffe3a22
fix: interaction response bug with body being invalid ( #2746 )
...
* fix: readme runtime list
* Fix code style issues with ESLint
* node 18
* fix: websocket import type
* fix: body for interaction requests
---------
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
2023-01-28 15:36:28 -06:00
Skillz4Killz
7740cfd0f1
fix: remote gateway test file
2023-01-28 17:31:59 +00:00
Skillz4Killz
d30b09a125
fix: lint issues
2023-01-28 17:31:52 +00:00
Skillz4Killz
b6fec9c3de
fix: interaction requests that sent without full url
2023-01-26 17:55:57 +00:00
Yaikava
9957a3f1ca
Revert "fix: use isomorphic ws" ( #2744 )
...
This reverts commit ad306b0d0a .
2023-01-26 11:39:12 -06:00
deepsarda
408d624f93
Add missing types ( #2742 )
2023-01-26 09:36:16 -06:00
Yaikava
fd8642b209
Interaction types - remove member,channel,role from value type ( #2743 )
...
https://discord.com/channels/785384884197392384/1067265182776176690/1068189883073572924
2023-01-26 09:35:45 -06:00
deepsarda
ef91f52230
Update tsdoc.json ( #2741 )
...
Updates tsdoc.json to reflect the current packages.
2023-01-26 09:21:24 -06:00
Skillz4Killz
c1efa83bd9
Bot pkg ( #2740 )
...
* fix: bot pkg test
* Fix code style issues with ESLint
* Update Guild.ts
* Update Guild.ts
* Fix code style issues with ESLint
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
Co-authored-by: Jonathan Ho <heiheiho000@gmail.com >
2023-01-26 09:11:24 -06:00
Skillz4Killz
6073ab3667
fix: readme runtime list ( #2739 )
2023-01-24 11:26:06 -06:00
Jonathan Ho
5c3bf0ef5d
chore: make eslint error if missing .js extension ( #2735 )
...
* chore: eslint error if missing .js extension
* chore
* lint: fix missing .js error
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-01-24 10:00:03 -06:00
Jonathan Ho
432abcd204
test(utils): add utils tests ( #2737 )
...
* test(utils): add urltobase64 test
* test(utils): add token test
* test(utils): fix missing import buffer
* test(utils): add casting test
* test(utils): add casting test
* test(utils): fix use correct function
2023-01-24 09:39:57 -06:00
Jonathan Ho
1bbee2f0d7
test(rest): fix "TypeError: [Function] is not a thenable" ( #2736 )
2023-01-24 09:38:39 -06:00
Skillz
ad306b0d0a
fix: use isomorphic ws
2023-01-21 12:35:09 -06:00
Skillz
2406ec9a62
fix: lastShardId should default to 0
2023-01-21 12:25:26 -06:00
Skillz
654da9a646
Merge branch 'node-migration-clean' of https://github.com/discordeno/discordeno into node-migration-clean
2023-01-21 12:13:06 -06:00
Skillz
58cb136f4e
fix: file paths for imports
2023-01-21 12:13:02 -06:00
Jonathan Ho
1c0b22eba2
test(rest): fix missing import ( #2734 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-01-21 11:56:23 -06:00
Skillz
82f26d6dd6
fix: type error
2023-01-21 11:50:37 -06:00
Skillz
a1ff90fabe
fix: max stack trace error do to infinite loop
2023-01-21 11:48:59 -06:00
Skillz
17df478be8
fix: add frozenat check for queue
2023-01-20 14:46:31 -06:00
Skillz
6cfb380d48
fix: falsy token check
2023-01-20 14:19:56 -06:00
Skillz
1fe58d9ebe
Merge branch 'node-migration-clean' of https://github.com/discordeno/discordeno into node-migration-clean
2023-01-20 13:28:30 -06:00
Skillz
e4c38410bb
fix: bug camelizer deleting letters
2023-01-20 13:28:28 -06:00
Jonathan Ho
024fbe375f
chore: fix deps and script ( #2733 )
2023-01-20 12:27:41 -06:00
Skillz
d33185284f
fix: yarn lock
2023-01-20 12:18:45 -06:00
Skillz
cc7c4a877c
fix: v19 begin
2023-01-20 12:16:01 -06:00
Skillz
342125f57a
fix: rest type errors
2023-01-20 12:13:05 -06:00
Jonathan Ho
a2c95a1d26
ci: fix release ( #2732 )
2023-01-20 12:06:47 -06:00
deepsarda
15b4474406
feat(rest helpers): Add template and member helpers. ( #2728 )
...
* feat(rest helpers): Add template and member helpers.
* format code
* feat(rest): add template routes
* fix(rest): routes and runMethod
* fix(rest): try to fix most of type
Co-authored-by: H01001000 <heiheiho000@gmail.com >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-01-19 16:24:29 -06:00
Yaikava
29db462ca0
🐛 - fix: types - slashcommands - add nsfw prop ( #2731 )
2023-01-19 16:10:21 -06:00
Jonathan Ho
752bedbda8
ci: release to npm ( #2725 )
...
* ci: release to npm
* Update release.yml
2023-01-19 16:07:28 -06:00
Skillz
717e88a552
fix: cleanup templates
2023-01-19 14:28:09 -06:00
Skillz
a7b6d42fe2
Merge branch 'node-migration-clean' of https://github.com/discordeno/discordeno into node-migration-clean
2023-01-19 14:09:45 -06:00
Skillz
79853c4abc
fix: remove frozenAt
2023-01-19 14:09:43 -06:00
deepsarda
9520741de7
Add rest helpers for templates ( #2727 )
...
* Add rest helpers for templates
* Fix code style issues with ESLint
Co-authored-by: Lint Action <lint-action@samuelmeuli.com >
2023-01-16 10:52:24 -06:00
Jonathan Ho
eaf8782d34
test: fix rest and utils test ( #2723 )
...
* test(utils): fix cant import collection
* test(rest): await expect
* fix(utils): deno compactability
* test(utils): typing
* fix(utils): add return type
2023-01-15 11:04:20 -06:00
deepsarda
e53cd930e8
Fix(client): Fix typings. ( #2716 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-01-14 19:40:45 -06:00
ITOH
b9113f78ff
perf(utils): optimize snake to camel case conversion ( #2717 )
...
* perf(utils): optimize snake to camel case conversion
* fmt
* wont change much but still faster
* actually this was a stupid idea
* shh
2023-01-14 19:38:50 -06:00
Skillz
fb2920f5d0
Merge branch 'node-migration-clean' of https://github.com/discordeno/discordeno into node-migration-clean
2023-01-14 16:54:06 -06:00
Skillz
2647ed0798
interaction helpers
2023-01-14 16:54:03 -06:00
H01001000
7da632bab9
test(utils): enable old test
2023-01-14 09:49:35 -08:00
H01001000
dad40241bf
test(rest): fix missing beforeEach
2023-01-14 06:01:19 -08:00
H01001000
b6281cd98a
test(rest): add processRateLimitedPaths test
2023-01-14 05:27:31 -08:00