Commit Graph

5354 Commits

Author SHA1 Message Date
Skillz4Killz
8708fb3b2f fix: remove unused imports 2022-06-15 17:45:12 +00:00
Skillz4Killz
decb2e23c0 BREAKING(constantts): move routes to separate file 2022-06-15 17:31:49 +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
Skillz4Killz
db29251f92 fix(tests): getActiveThreads should not edit first 2022-06-15 15:33:23 +00:00
Skillz4Killz
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
Jonathan Ho
4263b7b787 fix: endpoint (#2296) 2022-06-15 10:25:49 -04:00
LTS20050703
4580b72d0e nuke GATEWAY_VERSION (#2293) 2022-06-15 10:12:31 -04:00
LTS20050703
09212e53c1 Clarify that permissions can apply on application-level (#2289) 2022-06-15 09:57:05 -04:00
Skillz4Killz
9e61b7366f Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-06-15 13:47:12 +00:00
Skillz4Killz
0c3818a0af BREAKING(types): remove JsonErrorCodes 2022-06-15 13:47:08 +00:00
Nicholas Sylke
bbbd30d7a5 typings: change any to unknown (#2285)
* typings: change any/unknown to void

* typings: use unknown instead of void
2022-06-15 09:43:29 -04:00
Skillz4Killz
74666ba44c fix(transformer): partial user in presence 2022-06-15 13:37:57 +00:00
Skillz4Killz
960b26276f stupid fmt 2022-06-08 16:28:16 +00:00
Yuzu
005c78e136 Dedicated types (#2268)
* feat: dedicated types

* patch: AnythingBut with arrays

* patch: nested objects stuff

* patch: stuff

* fix: requested changes

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-06-08 12:27:26 -04:00
Skillz4Killz
e7191c7eef fix: add autofmt 2022-06-08 13:35:40 +00:00
Skillz4Killz
e840b50319 fix: disable benchmarks 2022-06-08 13:30:37 +00:00
Skillz4Killz
fb6f73d124 fix: benchmark gateway rewrite bugs 2022-06-08 12:04:15 +00:00
Skillz4Killz
fd97bb7f50 fmt 2022-06-08 11:42:08 +00:00
Skillz4Killz
cdc9ba5b14 Update pr_tests.yml 2022-06-05 21:16:52 -04:00
Skillz4Killz
226a1e0c80 fix(cache): cache plugin using old gateway model 2022-06-04 20:47:10 +00:00
Skillz4Killz
4ae4abbf11 fix(fmt): time to delete deno fmt 2022-06-04 15:58:22 +00:00
Skillz4Killz
a9edf4c29a fix(test): import not auto updated silly deno 2022-06-04 15:56:48 +00:00
Skillz4Killz
2300584404 Update README.md 2022-06-04 11:41:54 -04:00
Skillz4Killz
e9e8fa9c25 fix(test): add check of dm message exist 2022-05-31 15:12:44 +00:00
Skillz4Killz
6e0b53e712 ci(tests): fix testss name in ci 2022-05-31 14:23:01 +00:00
Skillz4Killz
0ab109fc43 fix(tests): rename testss to tests folder 2022-05-31 14:22:12 +00:00
Skillz4Killz
0e6e5d8649 fix(tests): remove old tests folder 2022-05-31 14:21:51 +00:00
Skillz4Killz
3af25bcc1d BREAKING(helpers): editBotNickname can return undefined 2022-05-31 14:21:16 +00:00
Skillz4Killz
c7a94ffa89 fix(tests): add reaction tests 2022-05-31 14:20:33 +00:00
Skillz4Killz
873be9188d fix(tests): add benchmark test 2022-05-31 14:20:11 +00:00
Skillz4Killz
d3c1111b26 fix: fmt and cleanup 2022-05-31 13:38:34 +00:00
Skillz4Killz
cdf748064e fix(tests): migrate webhook unit tests 2022-05-31 13:37:46 +00:00
Skillz4Killz
9473a1d798 BREAKING(helpers): getWebhook can return undefined 2022-05-31 13:35:28 +00:00
Skillz4Killz
35920b56cf fix(tests): remaining channel unit tests 2022-05-31 13:15:52 +00:00
Skillz4Killz
87cab15100 fix(tests): migrate misc tests 2022-05-31 12:48:08 +00:00
Skillz4Killz
9b609a58d5 BREAKING(helpers): getUser can return undefined 2022-05-31 12:47:56 +00:00
Skillz4Killz
e886ee2718 fix(tests): migrate role unit tests 2022-05-31 03:37:09 +00:00
Skillz4Killz
9da9c08039 fix(tests): loadBot is sync now gg 2022-05-30 22:20:55 +00:00
Skillz4Killz
6ef83dbc87 fix(test): add member fetching tests 2022-05-30 22:20:41 +00:00
Skillz4Killz
84e553707e fix(tests): add nickname of bot test 2022-05-30 22:20:28 +00:00
Skillz4Killz
4ffddb3160 fix(tests): add dm test 2022-05-30 22:20:16 +00:00
Skillz4Killz
759518b35f fix(tests): add member ban tests 2022-05-30 22:20:06 +00:00
Skillz4Killz
d51cf52a8c fix(tests): remove unused old tests files 2022-05-30 22:19:19 +00:00
Skillz4Killz
6c464ce5c0 fix(tests): cleanup some tests old code 2022-05-30 22:18:57 +00:00
Skillz4Killz
6b4160e066 BREAKING(helpers): getMember user isnt in server 2022-05-30 22:18:38 +00:00
Skillz4Killz
695fb7a4bc BREAKING(helpers): getDmChannel if no dm perms 2022-05-30 22:18:08 +00:00
Skillz4Killz
e05e409d76 BREAKING(helper): fix getBan if not banned 2022-05-30 22:17:37 +00:00
Skillz4Killz
146c10d769 fix(test): events editing tests split 2022-05-30 15:29:33 +00:00