Commit Graph

67 Commits

Author SHA1 Message Date
Skillz4Killz
4fca42f4f0 fix: broken util import for image url 2023-02-19 14:32:19 +00:00
Skillz4Killz
d525fba8c9 snaker 2023-02-19 06:26:04 +00:00
Skillz4Killz
6f3eb70712 fix: more helpers 2023-02-14 21:42:58 +00:00
Skillz
5732fdc278 get message typeguards 2023-02-13 16:33:01 -06:00
Skillz
9806cff021 fix: typos 2023-02-13 16:21:45 -06:00
Skillz
4f3227cc61 image urls 2023-02-13 16:19:55 -06:00
Skillz
a4bf82fb07 fix: reaction related helpers 2023-02-13 14:53:14 -06:00
Jonathan Ho
84295907d5 test(utils): add test (#2764)
* test(utils): remove old test

* test(utils): add color test

* test(utils): fix import mocha

* test(utils): fix test type error

* test(utils): remove dev code

* fix(utils): bucket not export all function

* test(utils): add some test for bucket

* fix(utils): close #2775

* test(utils): add test for permissions.ts

* test(utils): fix missing mocha import

* fix(utils): better fix for #2775
2023-02-10 12:35:38 -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
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
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
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
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
cc7c4a877c fix: v19 begin 2023-01-20 12:16:01 -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
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
H01001000
7da632bab9 test(utils): enable old test 2023-01-14 09:49:35 -08:00
H01001000
9fcc98dadd fix: importing esm 2023-01-13 04:31:41 -08:00
Skillz
5ba5bc32c7 dm channel and avatar url 2023-01-12 12:48:52 -06:00
Skillz
0168f5c02b alphabetize 2023-01-10 15:32:17 -06:00
Skillz4Killz
3e862ef93d Merge branch 'node-migration-clean' of https://github.com/discordeno/discordeno into node-migration-clean 2023-01-09 16:45:39 +00:00
Skillz4Killz
c603b333c2 feat: rest channel helpers 2023-01-09 15:45:25 +00:00
Lars_und_so
8b18d06834 yes (#2714)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-01-08 20:04:04 -06:00
Skillz
9af3d497e4 fix: lint/ts errors except shard file 2023-01-08 12:37:11 -06:00
Skillz
851214d798 fix: start deris 2023-01-07 15:03:58 -06:00
Skillz
51e9690b9b fix: cleanup docs on collection 2023-01-05 13:47:49 -06:00
Skillz
cea3a1ee3e feat: collection class in util package 2023-01-05 13:39:59 -06:00
Jonathan Ho
3e426f9d82 test: this should run test 2023-01-04 08:32:07 -08:00
Skillz
9eb636337a fix: all import issues 2023-01-03 13:41:45 -06:00
Skillz
bc7a69bcd1 feat: camelizer util 2022-12-31 13:10:59 -06:00
Jonathan Ho
2b868edf1f test: fix error and buffer 2022-12-29 18:50:05 -08:00
Jonathan Ho
3065bf1b95 test(rest): fix unit test 2022-12-29 17:31:41 -08:00
Skillz
76bf1d95fa fix: handle 429 rate limit 2022-12-28 01:38:14 -06:00
Skillz
621d31f921 fix: more cleanup 2022-12-26 21:00:54 -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
cdb7c97a25 fix: esm import with .js 2022-12-19 13:01:09 +08:00
Skillz4Killz
8f521c8a67 fix: rest routes as a constants pkg 2022-12-19 03:18:52 +00: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
b98c6c6e68 test: fix types 2022-12-15 10:39:51 +08:00
H01001000
d26c8d1fa7 fix: verifySignature 2022-12-15 10:39:14 +08:00
H01001000
4b334f550e chore: add import type 2022-12-05 21:26:06 +08:00
H01001000
f8fcc8229c chore: add clean build 2022-12-05 18:06:01 +08:00
H01001000
869554167f test: move bot utils test 2022-12-05 05:41:02 +08:00
H01001000
c271a85627 feat: add helpers to rest 2022-12-05 05:33:54 +08:00