Commit Graph

63 Commits

Author SHA1 Message Date
Skillz4Killz
96ecfccf2f fix: client errors 2023-02-19 04:52:44 +00:00
Skillz4Killz
8adb744050 fix: lots of errors 2023-02-16 07:58:16 +00:00
Skillz4Killz
fbd26f4d04 fix: add logs to gateway manager 2023-02-15 23:15:57 +00:00
Skillz4Killz
0e03fcc14c fix: remaining helpers 2023-02-14 22:30:58 +00:00
Skillz4Killz
6f3eb70712 fix: more helpers 2023-02-14 21:42:58 +00:00
Skillz
5b2001586b fix: linters issues 2023-02-13 13:17:39 -06:00
Skillz
ff6dcb11dd feat: connectToVoice 2023-02-13 13:12:47 -06:00
Jonathan Ho
da1660fc1c test(all): add test importing index (#2774)
* test(all): add test importing index

* chore: remove old benchmark dir

* chore: disable coverage status fail

* test(client): add import test with try catch

* test(rest): fix narrow import scope
2023-02-09 09:45:01 -06:00
Jonathan Ho
4451608dfa test: add gateway integration test (#2756)
* test: add gateway integration test

* test(gateway): fix connection test

* test(gateway): add heartbeat test

* ci: add integration test

* fix: add uWebSockets.js

* ci: add timeout

* test(utils): remove old test

* Revert "test(utils): remove old test"

This reverts commit 04fb6dd4b5.

* test(gateway): fix uws server

* test(gateway): fix type

* chore: update codecov flag

* test(gateway): remove dev code

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-02-05 10:58:40 -06:00
Skillz4Killz
2b127951ae fix: more rest e2e tests (#2763)
* 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

* fix: easier to provide custom intents in bot

* fix: shutdown bot after test

* fix: add getGuild

* fix: multiple guild delete attempts

* fix: add emoji e2e tests

* fix: remaining old e2e rest tests

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-03 16:17:22 -06: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
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
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
Yaikava
9957a3f1ca Revert "fix: use isomorphic ws" (#2744)
This reverts commit ad306b0d0a.
2023-01-26 11:39:12 -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
Jonathan Ho
024fbe375f chore: fix deps and script (#2733) 2023-01-20 12:27:41 -06:00
Skillz
cc7c4a877c fix: v19 begin 2023-01-20 12:16:01 -06:00
H01001000
9d5918f4f7 chore: move ts-node into package 2023-01-13 04:17:52 -08:00
Skillz
47a12fc4e0 fix: camelize all gateway payloads 2023-01-06 15:39:43 -06:00
Skillz
b20bc10780 fix: stuff 2023-01-06 12:07:51 -06:00
Skillz
bc06f25532 fix: gateway bugs 2023-01-05 13:40:51 -06:00
Skillz
257b0f3fbd fix: remove unused consts 2023-01-03 13:36:06 -06:00
Skillz
0413787680 fix: fmt 2023-01-03 13:23:54 -06:00
Skillz
c1fc768fc1 fix: fmt shard file 2023-01-03 13:17:35 -06:00
Skillz
84df6f29ed fix: lint error 2023-01-03 13:07:33 -06:00
Skillz4Killz
a03f191358 fix: add gateway package base 2023-01-03 18:50:48 +00:00
Skillz
216f0f85bf fix: move all to old folder 2022-12-26 20:12:19 -06:00
Skillz
63f1b619eb Merge branch 'node-migration' of https://github.com/discordeno/discordeno into node-migration 2022-12-25 12:46:34 -06:00
Skillz
b491027344 fix: gateway helpers use transformers 2022-12-25 12:40:36 -06:00
H01001000
25b04141eb test: add guild e2e test 2022-12-25 12:47:42 +08:00
H01001000
09b58a6a08 fix: queue not running after some request 2022-12-24 02:01:53 +08:00
H01001000
bf0e9e3f55 test: try fix 2022-12-22 01:27:36 +08:00
Skillz
ea8b958e1e fix: move out gw helpers to gw package 2022-12-20 21:38:14 -06:00
H01001000
2c6680611c ci: run test with deno close #2701 2022-12-20 09:35:40 +08:00
H01001000
725756929c chore: add path fixing to coverage file 2022-12-19 16:40:25 +08:00
H01001000
47241f5cef chore: change script name 2022-12-19 15:41:23 +08:00
H01001000
96a896537a feat: add transform and constant package 2022-12-16 11:17:37 +08:00
H01001000
f01e228894 test: add test:unit-noTextCoverage 2022-12-15 22:14:31 +08:00
H01001000
4b334f550e chore: add import type 2022-12-05 21:26:06 +08:00
H01001000
35a3c5d91c refactor: discordeno 2022-12-05 18:51:54 +08:00
H01001000
f8fcc8229c chore: add clean build 2022-12-05 18:06:01 +08:00
H01001000
c271a85627 feat: add helpers to rest 2022-12-05 05:33:54 +08:00
H01001000
1381838ab1 fix: run yarn install 2022-12-05 00:38:41 +08:00
H01001000
26be2bc16f chore: fix fmt script 2022-12-05 00:35:44 +08:00
H01001000
386a2b7022 fix: dependencies 2022-12-05 00:33:22 +08:00
H01001000
b21ee66d58 test: add test 2022-12-04 21:29:58 +08:00
H01001000
0c29d43d4b fix: remove private from gateway 2022-12-04 17:59:33 +08:00
H01001000
f60b946645 fix: package version 2022-12-04 17:33:30 +08:00