Commit Graph

187 Commits

Author SHA1 Message Date
Skillz4Killz
20ac45810a fix: timeout bug 2023-02-20 15:01:44 +00:00
Andreas Fink
f6a5942f60 fix(rest): add interface RestRequestRejection (#2782) 2023-02-19 19:55:29 -06:00
Skillz4Killz
7153262998 fix: rest resolve sends status and body 2023-02-16 02:39:32 +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
5732fdc278 get message typeguards 2023-02-13 16:33:01 -06:00
Skillz
e6dbefe140 voie states editing 2023-02-13 15:50:18 -06:00
Skillz
66416c8bf3 mfa level 2023-02-13 15:19:48 -06:00
Skillz
a4bf82fb07 fix: reaction related helpers 2023-02-13 14:53:14 -06:00
Skillz
1c3819b10a feat: deleteMessages 2023-02-13 14:08:06 -06:00
Skillz
2dafa8f5f8 fix: remove aliases and add createGuildFromTemplate 2023-02-13 13:54:41 -06:00
Skillz
5b2001586b fix: linters issues 2023-02-13 13:17:39 -06:00
Skillz
00f8a904cf feat: addReaction & addReactions 2023-02-13 12:57:06 -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
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
Skillz4Killz
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
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
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
b6fec9c3de fix: interaction requests that sent without full url 2023-01-26 17:55:57 +00: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
1bbee2f0d7 test(rest): fix "TypeError: [Function] is not a thenable" (#2736) 2023-01-24 09:38:39 -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
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
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
Skillz
342125f57a fix: rest type errors 2023-01-20 12:13:05 -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
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
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
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
H01001000
659551d34e test(rest): add checkRateLimits test 2023-01-14 05:17:15 -08:00
H01001000
0cb0dd4862 test(rest): add simplifyUrl test 2023-01-14 05:12:27 -08:00
Skillz
f062fe0140 Merge branch 'node-migration-clean' of https://github.com/discordeno/discordeno into node-migration-clean 2023-01-13 11:25:42 -06:00
Skillz
32cf5c0f6b fix: tris message helpers 2023-01-13 11:25:38 -06:00
H01001000
9d5918f4f7 chore: move ts-node into package 2023-01-13 04:17:52 -08:00
Skillz
5ba5bc32c7 dm channel and avatar url 2023-01-12 12:48:52 -06:00
Skillz4Killz
c5fbaa76cf invite stuff incomplete 2023-01-12 01:34:30 +00:00
Skillz4Killz
1b522a7e8a integrations helpers 2023-01-11 00:46:35 +00:00