Commit Graph
5032 Commits
Author SHA1 Message Date
H01001000 0f54229d0d test(gateway): add heartbeat test 2023-02-02 21:01:36 -08:00
H01001000 e41c6a88b6 test(gateway): fix connection test 2023-02-02 21:00:15 -08:00
Jonathan Ho 7d36108858 Merge branch 'node-migration-clean' into H01001000-node-migration-clean-patch-gateway-test 2023-02-02 20:59:14 -08:00
Jonathan Ho 4d0b7b2c6c chore: fix script and update import map (#2761)
* chore: fix version script

* chore: update import map

* chore: fix ws import map

* chore: fix deno import map

* test: fix
2023-02-02 12:03:19 -06:00
Jonathan Ho a9703f714c ci/test: fix bot pkg e2e test (#2759) 2023-02-02 11:14:22 -06:00
Jonathan Ho 209c4b8847 chore: fix deps (#2757) 2023-02-02 10:13:00 -06:00
Skillz4KillzandLint Action 6ac77b5504 fix: delete guilds test (#2758)
* 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

* fix: tests delete guilds

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-02 10:10:44 -06:00
H01001000 b6e7b03e0b test: add gateway integration test 2023-02-01 19:39:44 -08:00
Skillz4KillzandLint Action 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
Skillz4KillzandLint Action 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
Skillz4KillzandLint Action 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
Skillz4KillzandLint Action 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
Skillz4KillzandLint Action 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
Skillz4KillzandLint Action 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
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 HoandSkillz4Killz 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 HoandSkillz4Killz 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
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
deepsardaandLint Action 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