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
f57b2274e0
fix: delete the typing channel
2022-06-18 23:49:25 +00: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
a8da4571cd
Merge branch 'main' of https://github.com/discordeno/discordeno into main
2022-06-15 15:34:02 +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
Skillz4Killz
e840b50319
fix: disable benchmarks
2022-06-08 13:30:37 +00:00
Skillz4Killz
a9edf4c29a
fix(test): import not auto updated silly deno
2022-06-04 15:56:48 +00:00
Skillz4Killz
e9e8fa9c25
fix(test): add check of dm message exist
2022-05-31 15:12:44 +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
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
e886ee2718
fix(tests): migrate role unit tests
2022-05-31 03:37:09 +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
7e24a7da27
fix(tests): remove old scheduled events
2022-05-30 14:48:46 +00:00
Skillz4Killz
e34a265ba4
fix(test): migrate message related unit tests
2022-05-29 17:56:41 +00:00
Skillz4Killz
23377aecab
fix(tests): add first message unit test
2022-05-29 15:29:00 +00:00
Skillz4Killz
d6a8f757ae
fix: cleanup bad tests code
2022-05-29 14:53:51 +00:00
Skillz4Killz
28974f2497
fix(utils): remove hasProperty. Unused function
2022-05-28 13:28:11 +00:00
Skillz4Killz
05b86d2ea3
fix(tests): migrate invite related tests
2022-05-28 13:19:34 +00:00
Skillz4Killz
7db661180f
fix(tests): migrate guild url unit tests
2022-05-27 22:55:51 +00:00
Skillz4Killz
08b56e0a19
fix(tests): migrate emoji related unit tests
2022-05-27 18:44:49 +00:00
ITOH
d7883855ec
refactor(.github,README,gateway,plugins/fileloader,tests,types)!: make intent calculation manual
...
This changes the calculation of intents to be manual to the dev.
This is to improve overall consistency of our code base, also it is not a big drawback for users since intents are usually done once and then never (seldom) touched again.
2022-05-24 23:16:01 +02:00
ITOH
199d616f04
style: fmt
2022-05-12 19:03:03 +02:00
Skillz4Killz
d28bd01992
fix: add more utils unit tests
2022-05-11 13:33:54 +00:00
Skillz4Killz
4290c8c9a8
fix: remove old threads test
2022-05-11 13:26:22 +00:00
Skillz4Killz
ba9944c6b0
fix: add stage instance tests
2022-05-10 14:47:52 +00:00
Skillz4Killz
3752cda0c3
test: add getChannels test
2022-05-08 17:49:35 +00:00
Skillz4Killz
1726680fde
fix: speed up unit tests by 50%
2022-05-08 17:38:56 +00:00
Skillz4Killz
7da023690b
fix: cleanup tests and add get channel test
2022-05-08 16:52:02 +00:00
Skillz4Killz
ddd847cfff
fix: type error in a test
2022-04-15 09:33:41 +00:00
Skillz4Killz
2644d4b171
fix: test with invalid type
2022-03-21 12:22:10 +00:00
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