Danny May
0910965de5
Fix sending files through a rest proxy ( #2593 )
...
* Fix rest proxy not working with files
* Fix some credits
* Add tests
* Fix test
* Remove some usage of any
* Fix mime matching
* Fix formatting issues
2022-11-20 16:50:50 -06:00
Jonathan Ho
5a1887462d
Fix: typing ( #2589 )
...
* deno fmt
* import SortOrderTypes
* add bigString to reverse snowflake
2022-11-14 15:49:25 -06:00
Skillz
0628d849e4
fix: remove debugs
2022-11-14 12:54:55 -06:00
Skillz4Killz
76ea7d9a67
Bucking Rest ( #2588 )
...
* Pending changes exported from your codespace
* fix: more testing needed
* fix: try fix
* fix: global shared scope erro
* fix: cleanup console logs
2022-11-14 12:17:29 -06:00
Andreas Fink
b7688bc6b0
fix(rest): Fix empty Content-Type header ( #2537 )
...
* fix(rest): Fix empty Content-Type header
* Update runMethod.ts
* Update runMethod.ts
2022-10-20 16:17:29 -05:00
Andreas Fink
7e9d42d7f8
fix: only send Content-Type header to proxy if body content is sent ( #2536 )
2022-10-20 15:30:31 -05:00
Skillz4Killz
1fedbe61c2
fix: i hate u stupid piece of argggggg. fmt urself automatically for once in ur stupid life
2022-10-03 19:18:00 +00:00
Skillz4Killz
2829b1d064
fix: stickers tests
2022-10-03 19:15:55 +00:00
LTS20050703
39a806ff9c
fix: errors ( #2496 )
...
* fix: errors
* fix: err can be undefined
* tests: fix sticker tests
* fix: create channel require name
* fix: sticker helpers and tests
* tests: delete channel after tested guild stickers
2022-10-01 12:14:59 -04:00
Skillz4Killz
f0f9791ccd
fix: stupid fmt do urself
2022-09-20 03:53:07 +00:00
Skillz4Killz
acabe468ae
fix: 429 handling bug
2022-09-20 03:52:19 +00:00
meister03 and meister03
e431e0e044
fix: Rest proxy error ( #2471 )
...
* Rebase Update on main
* Rebase Update on main
* Rebase Update on main
* Fix deno fmt
Co-authored-by: meister03 <meisterpi@gmail.com >
2022-09-15 11:23:49 -04:00
meister03 and meister03
612f0c8b64
fix: Internal Proxy Error ( #2430 )
...
Co-authored-by: meister03 <meisterpi@gmail.com >
2022-09-06 11:53:08 -05:00
Skillz4Killz
c27094d9fe
fix: fmt
2022-09-05 19:03:34 +00:00
Skillz4Killz
eec21d003d
fix: cleanup proxy rest errors
2022-09-05 18:10:19 +00:00
meister03 and meister03
cfbb1cd415
Fix Internal proxy Issue ( #2413 )
...
* Fix Internal proxy Issue
* deno fmt
Co-authored-by: meister03 <meisterpi@gmail.com >
2022-09-01 13:11:02 -05:00
Skillz4Killz
7d19b42cd8
fix: fmt
2022-08-26 01:55:03 +00:00
Skillz4Killz
4cf3e61e96
feat: big bot rest analytics
2022-08-26 00:29:25 +00:00
Skillz4Killz
359db97a39
fix: pass tests
2022-08-24 05:25:00 +00:00
ITOH
03996c5f58
refactor: revert "feat: base plugin lib idea ( #2308 )" ( #2336 )
...
* Revert "feat: base plugin lib idea (#2308 )"
This reverts commit ffe7cdbc6f .
* fmt
2022-07-02 14:24:43 +01:00
Skillz4Killz
ffe7cdbc6f
feat: base plugin lib idea ( #2308 )
...
* feat: base plugin lib idea
* fix: stuff
* fmt
* fix: imports and exports
* fix: errors & tests
* fix: remove logs
2022-06-18 18:46:37 -04:00
Skillz4Killz
aa2e5131ef
fix: test local queue idea ( #2301 )
...
* fix: test local queue idea
* I HATE STUPIDEST DENO FMT
* try new error
* fix: url
* fix: with proper headers
* fix: cleanup
2022-06-17 13:01:26 -04:00
Skillz4Killz
d3caa2d989
fix: remove unused import
2022-06-15 17:48:50 +00:00
Skillz4Killz
4a6b8c9f26
fix: remove rest object(v12 or v11 stuff)
2022-06-15 17:03:13 +00:00
Skillz4Killz
a8da4571cd
Merge branch 'main' of https://github.com/discordeno/discordeno into main
2022-06-15 15:34:02 +00:00
Skillz4Killz
2b0213c425
BREAKING(rest): move RestManager to restManager file
2022-06-15 15:34:00 +00:00
ccd8506c81
Auto mod blame wolf ( #2267 )
...
* feat(meister): add automod
* fix(test); rest error with code
* fix(rest): log error nicely
* fix(test): disable benchmark test until gateway rewrite
* fix(automod): enum should start with 1
* fix(helper): better undefined handling of metadata
* fix(transfomrers): automod transformers
* fix(tests): add some automod tests
* Update types/shared.ts
Co-authored-by: meister03 <69507874+meister03@users.noreply.github.com >
* fix: changes discord made recently
* fix(fmt): i hate deno fmt but i love itoh
Co-authored-by: meister03 <69507874+meister03@users.noreply.github.com >
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com >
2022-06-15 11:25:53 -04:00
ITOH
b00504ce07
perf(plugins/helpers,rest,site,template)!: uppercase rest methods ( #2252 )
...
* perf(plugins/helpers,rest,site,template)!: uppercase rest methods
There is no need for us to pass the methods in lower case and then use the `toUpperCase()` method everywhere. Therefore this PR changes every lowercase method to be uppercase (eg. `"get"` => `"GET"`).
* template is old version
2022-05-25 20:45:51 +02:00
ITOH
1edb3c2110
refactor(bot,plugins/helpers,rest,util)!: improve rest route handling ( #2248 )
...
* refactor(bot,helpers,plugins,rest,util)!: improve rest route handling
- rename endpoints constant to routes
- simplify routes code by removing bases and function calls
- url query params can now be passed to the route functions
* style: deno fmt
* fix base stuff
* suggestions
2022-05-25 20:35:25 +02:00
ITOH
be5bcb5bbc
fix(rest)!: editApplicationCommandPermissions ( #2238 )
...
* fix(rest)!: `editApplicationCommandPermissions`
- add `bearerToken` option
- add headers to `RestPayload`
- remove `batchEditApplicationCommandPermissions` since the related endpoint has been removed
* fix header prefix
2022-05-25 09:53:53 -04:00
ITOH
3a5263c4e9
style: deno fmt
2022-05-24 22:01:44 +02:00
meister03 and meister03
4e5c7869d9
Add Support for Custom Error Converter ( #2231 )
...
Co-authored-by: meister03 <root@_HOSTNAME_>
2022-05-19 19:54:05 -04:00
Skillz4Killz
8cb912730b
feat: remove token prefix util ( #2191 )
...
* feat: remove token prefix util
* fix: token substring
* fix: speed up unit tests
2022-05-08 11:34:33 -04:00
88f7529dc4
feat: Modified processGlobalQueue to be able to handle results in runMethod ( #2101 )
...
* feat: Modified processGlobalQueue to be able to handle results in runMethod
* Apply suggestions from code review, step 1
Co-authored-by: ITOH <to@itoh.at >
* Apply suggestions from code review, step 2
* Update Files
* Update to resolve/reject
* Fixes & deno fmt
Co-authored-by: ITOH <to@itoh.at >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-04-10 13:22:56 -04:00
ITOH
9980856eef
refactor!: fix some spelling mistakes ( #2144 )
...
* refactor!: fix some spelling mistakes
This fixes some spelling mistakes around the code base. Note not all are fixed.
* subComponent
2022-03-31 14:16:34 +02:00
Skillz4Killz
b06f6d2512
fix: remove get query loop loop de loop loop
2022-03-26 00:11:47 +00:00
Skillz4Killz
69bcccc5fd
fix: remove debug logs
2022-03-25 21:42:31 +00:00
Skillz4Killz
d2d0dd37ae
fix: fmt
2022-03-25 19:31:16 +00:00
Skillz4Killz
fbbac43053
fix: constant urls endpoints need to be functions
2022-03-25 19:23:44 +00:00
LTS20050703 and Skillz4Killz
086258d1ea
fix mod.ts export ( #2121 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-03-22 11:28:33 -04:00
Skillz4Killz and LTS20050703
a0a1554756
refactor: typings using ReturnType ( #2105 )
...
* fix: check new types idea
* fix: type errors
* fix: new style
* fix: more cleanup
* fix: more cleanup
* fix: cleanup audit logs
* fix: cleanup stickers
* fix: cleanup integrations
* fix: more cleanup
* fix: organize into 1 place
* fix: few errors
* fix: some broken import fixes
* fix: quite a lot of fixes across the board
* fix: more fixes for broken imports
* fix: more fixes for broken imports
* fix: handler imports
* fix: all remaining import errors
* fix: more errors needing fixes
* fix: clearing up transformers
* fix: few moer types
* fix: more cleanup of extra types
* fix: fmt
* fix: cleanup discordeno file
* Nuke Base Types (#2102 )
* fix: cleanup snake stuff
* convert camelCase to snake_case (#2103 )
* fix: add camelize
* fix: finalize remaining errors
* fix: imports in test
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com >
2022-03-14 22:11:22 -04:00
ITOH
cf747d5a63
feat!: update to api version 10 ( #2063 )
...
* testing stuff
* feat: update to api version 10
* broken url import
* do changes
* delete test file
2022-02-14 20:00:58 +01:00
Skillz4Killz
8aaea9f339
refactor!: move dirs outside of src/ ( #2032 )
2022-02-11 09:49:53 +00:00