Commit Graph

356 Commits

Author SHA1 Message Date
Skillz4Killz
d6f0f42461 fix: 92 unit tests passing 2022-03-20 10:02:55 +00:00
Skillz4Killz
5c2ed9573c fix: collection and array support in optionalize 2022-03-19 15:06:07 +00:00
Skillz4Killz
c9ccbfa984 fix: latest optionalize 2022-03-18 14:42:25 +00:00
Skillz4Killz
cf13780765 fix: fmt 2022-03-18 04:20:14 +00:00
Skillz4Killz
80d251b6a7 fix: yuzu improvement 2022-03-16 08:54:56 +00:00
Skillz4Killz
186067350d fix: broken imports in tests/ 2022-03-15 03:50:06 +00:00
Skillz4Killz
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
Skillz4Killz
8aaea9f339 refactor!: move dirs outside of src/ (#2032) 2022-02-11 09:49:53 +00:00
Skillz4Killz
ef5b25b319 test: fix unit tests related to code bugs (#2001)
* fix: get tests runnable

* fix: tests are now passing

* fix: 32 passing tests

* fix: deno fmt u dumb dumb work automatically for once in your life

* fix: 54 tests passing now

* fix: 94 passing, itoh was wrong he guess wrong hehe

* fix: remove debug logs

* fix: remove broken webhook test for now

Co-authored-by: ITOH <to@itoh.at>
2022-02-06 15:56:56 +00:00
ITOH
c2b7a6ec03 test: remove configs.ts (#1995)
* refactortests): remove config.ts

* Update mod.ts

* Update mod.ts

* .env file
2022-02-04 10:06:55 -05:00
ITOH
81f8e0377c style: move to deno fmt (#1992)
* Create deno.json

* run format

* run format

* ci: only check formatting

* f

* Update settings.json

* Update settings.json
2022-02-04 15:00:04 +01:00
Skillz4Killz
6f83be26e2 Merge pull request #1871 from lts20050703/fix-delete-invite-test
fix(tests): delete invite
2021-12-28 22:13:23 -05:00
lts20050703
7dab1be581 fix send a message with a webhook test
Waits for server confirmation of message send before response, and returns the created message body (defaults to false; when false a message that is not saved does not return an error)
2021-12-28 22:16:45 +07:00
lts20050703
6fdc03b24a fix delete invite test 2021-12-28 22:00:20 +07:00
Skillz4Killz
9154fab9ad fix: latest deps plugins 2021-12-23 20:57:23 +00:00
Skillz4Killz
4de69bdfce fix: bump deps 2021-12-23 20:48:16 +00:00
Skillz4Killz
001afae921 fix: test bugs 2021-12-23 19:39:13 +00:00
lumap
07434fc56e Merge branch 'discordeno:main' into main 2021-12-22 16:25:16 +01:00
Hugo Chretien
8bc5f85986 [Unit tests] create slash, get slash, delete slash 2021-12-22 16:25:00 +01:00
Skillz4Killz
854db909ae fix: member helper perms 2021-12-08 20:17:49 +00:00
Skillz4Killz
59721b3d68 fix: editchannel and benchmarks 2021-12-03 18:28:25 +00:00
Skillz4Killz
74710c27c7 fix: move channelOverwriteHasPermission to perm plugin 2021-12-03 16:27:39 +00:00
Skillz4Killz
1464eb0c75 fix: move editThread to helpers plugin 2021-12-03 16:17:39 +00:00
Skillz4Killz
7c171faf3c fix: remove cloneChannel helper 2021-12-03 14:11:43 +00:00
Skillz4Killz
69230ae78e fix: tests with latest cache 2021-12-02 16:24:41 +00:00
Skillz4Killz
01ae584ce0 fix: sweeper is public, rc11 2021-12-01 23:41:35 +00:00
Skillz4Killz
0b3f149e90 fix: bot type and tests bot.cache.x 2021-12-01 22:24:01 +00:00
Skillz4Killz
16852744f4 fix: remove deleteThread 2021-11-29 17:05:13 +00:00
Skillz4Killz
2440dc7872 idk add logs it wont work 2021-11-29 14:19:56 +00:00
Skillz4Killz
5907e4b4bc fix: add presence intent 2021-11-29 14:19:36 +00:00
Skillz4Killz
1259bda5e0 fix: edit bot nickname name 2021-11-29 14:19:12 +00:00
lts20050703
85057395cd Update mod.ts 2021-11-28 00:58:03 +00:00
lts20050703
0b7fc2e7d2 UNIT TEST editBotStatus 2021-11-27 22:21:57 +07:00
Skillz4Killz
4d4713fa57 Merge pull request #1822 from lts20050703/main
UNIT TEST editBotNickname
2021-11-26 09:02:22 -05:00
Skillz4Killz
d7cc314d8d Update constants.ts 2021-11-26 08:52:34 -05:00
lts20050703
df8e16dac1 await editBotNickname 2021-11-26 15:37:23 +07:00
lts20050703
b6294d7835 UNIT TEST editBotNickname 2021-11-26 15:29:11 +07:00
Hugo Chretien
370435cb15 revert change 2021-11-26 09:04:06 +01:00
Hugo Chretien
3833f29c4b getMembers test i hope 2021-11-26 08:27:46 +01:00
Hugo Chretien
cf21e5963a getMember test 2021-11-24 19:05:27 +01:00
Skillz4Killz
7d9a4636fb fix: remove stage channels when finished 2021-11-24 16:33:10 +00:00
Skillz4Killz
ed9b8b1368 feat: thread related unit tests 2021-11-24 15:46:03 +00:00
Skillz4Killz
c27570f723 feat: more unit tests. Closes #1265 #1267 #1300 2021-11-24 03:05:33 +00:00
Skillz4Killz
d7dbdb66df Feat: stage instance tests 2021-11-23 18:15:19 +00:00
Skillz4Killz
ef6befc2b5 fix: odd why was this needed? 2021-11-23 17:22:52 +00:00
Skillz4Killz
6db43fadeb fix: token check 2021-11-23 17:21:01 +00:00
Skillz4Killz
d0a3f6b1d0 Closes #1296 2021-11-23 17:18:58 +00:00
Skillz4Killz
4cb77ed2e1 fix: typo 2021-11-23 11:58:11 +00:00
Skillz4Killz
4bd1a7ca69 feat: getChannel test Closes #1235 2021-11-23 11:57:42 +00:00
Skillz4Killz
d1dd7cc7dd feat: emoji url test 2021-11-23 10:05:15 +00:00