Commit Graph

114 Commits

Author SHA1 Message Date
ITOH
dac7c65795 change: make RestRequest.reject required 2021-05-31 22:29:54 +02:00
ITOH
c1f0426b97 Merge pull request #1006 from discordeno/prettier
prettier
2021-05-29 22:15:53 +02:00
Skillz4Killz
8df274ce99 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-05-29 20:13:50 +00:00
Skillz4Killz
9d65162eda fix: certain queues not starting separately 2021-05-29 20:13:48 +00:00
ITOH
6212cf73d1 more stuff 2021-05-29 21:40:20 +02:00
ITOH
36d67cbc95 Merge branch 'prettier' of https://github.com/discordeno/discordeno into prettier 2021-05-29 21:31:25 +02:00
ITOH
a2ddddb4bc fix rate limits 2021-05-29 21:31:23 +02:00
ITOH
58c2d8cb4e Merge branch 'main' into prettier 2021-05-29 21:30:43 +02:00
itohatweb
72e3f90278 change: prettier code 2021-05-29 19:27:28 +00:00
ITOH
8e0c4e2492 prettier 2021-05-29 21:26:53 +02:00
rigormorrtiss
ada3e9b43a perf(rest): use Object.keys() instead 2021-05-29 21:37:58 +04:00
itohatweb
179add27c9 Prettified Code! 2021-05-21 15:55:49 +00:00
itohatweb
3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00:00
Skillz4Killz
306e409118 fix: improve stack errors (#940)
* fix: improve stack errors

* test without new Error

* use stack error

* Commit from GitHub Actions (Lint)

* last idea

* change it again

* remove: errorStack in payload

* Update run_method.ts

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <to@itoh.at>
2021-05-13 22:24:07 +01:00
itohatweb
0dff29735b Commit from GitHub Actions (Lint) 2021-05-11 17:40:35 +00:00
ITOH
be3283ba60 Merge branch 'fix-run-method-return-object-instead-of-undefined' of https://github.com/discordeno/discordeno into fix-run-method-return-object-instead-of-undefined 2021-05-11 19:40:09 +02:00
ITOH
1da04ed639 use as 2021-05-11 19:39:49 +02:00
itohatweb
e8b6230f10 Commit from GitHub Actions (Lint) 2021-05-11 17:20:38 +00:00
ITOH
5d45b0bda9 fix: return undefined on 204 status 2021-05-11 19:20:15 +02:00
ITOH
ff3731d7ce Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-05-10 16:39:59 +02:00
ITOH
6fd7e683b8 don't respond after reject 2021-05-10 16:39:45 +02:00
rigormorrtiss
e81f6f7353 fix(rest): reject a string instead of object (#918)
* fix(rest): reject a string instead of object

* reject an error for stack trace
2021-05-10 15:29:14 +01:00
ITOH
b30dd053a8 Update rest.ts 2021-05-06 13:42:38 +01:00
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
rigormorrtiss
6f280e7781 change(types): move error & file_content to discordeno/ (#903)
* refactor(types): move errors, file_content module to types/discordeno

* refactor(types): move error & file_content module to discordeno/

* Update and fix import statements
2021-05-05 17:19:28 +01:00
ITOH
315f162e78 structures too 2021-05-04 12:41:07 +02:00
Skillz4Killz
3d2535180d fix broken tests 2021-05-03 18:52:57 +00:00
Skillz4Killz
3d39b3878a change: ids to use bigint instead of string (#892)
* p1 of bigints change

* shtuff fixes and bits

* Commit from GitHub Actions (Lint)

* finish bigint structs

* typings fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* blame wolf

* Commit from GitHub Actions (Lint)

* foxed

* Commit from GitHub Actions (Lint)

* fix unit tests

* Commit from GitHub Actions (Lint)

* change: guildUpdate guild ID can't change

* delete server has been renamed to delete guild

* fixes

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-03 18:05:18 +01:00
ITOH
6d445cde22 add automatic toCamel 2021-04-22 21:43:28 +02:00
ITOH
98bf292aff fix lint 2021-04-15 18:06:31 +02:00
ITOH
2088df100e fix(rest): processRateLimitedPaths use continue instead of return 2021-04-13 14:32:47 +02:00
ITOH
9b11d390e9 only call processRateLimitedPaths when processing is false 2021-04-13 12:50:03 +02:00
ITOH
81d34c14d2 response error should use reject 2021-04-13 11:49:37 +02:00
ITOH
2de53bcc42 feat(rest): createRequestBody support multiple files 2021-04-13 11:42:24 +02:00
ITOH
ece0e29ec8 add any ignore comment 2021-04-13 10:47:32 +02:00
ayntee
1cbc1b8f82 fmt files damn son 2021-04-12 23:13:37 +04:00
ITOH
5597521cac rest: runMethod add T back 2021-04-12 21:04:05 +02:00
Skillz4Killz
78a894a4ab fix: rest typings (#835)
* fix: rest typings

* fix: more typings
2021-04-12 16:18:13 +01:00
Skillz4Killz
51e27d8f17 types: fix new types issues (#829)
* feat: add tests for deleting channel overwrites

* fix: typings
2021-04-12 07:26:55 +01:00
ITOH
430a38cc14 discord should decide 2021-04-11 15:31:20 +02:00
ITOH
009f6a88dc wrong header 2021-04-11 15:13:25 +02:00
ITOH
085067591d Update process_request_headers.ts 2021-04-11 11:15:48 +02:00
Skillz4Killz
b7321a6d0e fix(rest): URL limiting (#809)
* fix: shtuff

* fix: better url handling
2021-04-10 18:26:41 +01:00
ITOH
dc9c33f0d4 f 2021-04-09 22:22:06 +02:00
ITOH
9312606100 lop 2021-04-09 21:37:13 +02:00
Skillz4Killz
a6536519ab git commit broke 2021-04-09 17:39:53 +00:00
Skillz4Killz
9c53a67dd3 fix: rest method uppercase 2021-04-09 14:41:31 +00:00
Skillz4Killz
03d01463e1 deno fmt 2021-04-09 14:41:23 +00:00
Skillz4Killz
f3c5d94df8 handle rejection 2021-04-09 13:12:07 +00:00
Skillz4Killz
cddf40e299 callback is useless 2021-04-09 13:11:12 +00:00