Commit Graph

4472 Commits

Author SHA1 Message Date
meister03
0fb4e1f398 Update minimal template (#2314)
* Outdate template

* don't use `.env.example`

* deno fmt

Co-authored-by: meister03 <meisterpi@gmail.com>
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2022-08-23 10:30:19 -04:00
Jonathan Ho
34d7a47f24 feat: reverse transformers (#2387)
* merged change

* deno fmt
2022-08-23 10:18:30 -04:00
meister03
aca0e3cf1b Merge Dev into Main (#2345)
* Simplify SfetchMembers (#2339)

Co-authored-by: meister03

* Create leaveVoiceChannel.ts (#2342)

* Update editFollowupMessage.ts (#2344)

* Update editInteractionResponse.ts (#2343)

* Update editMessage.ts (#2341)

* Update calculateShardId.ts

Fix wrong shardId calculations

* Add Role Icon to Edit (#2346)

Co-authored-by: meister03

* Add mix max length (#2347)

Co-authored-by: meister03

* style: deno fmt

* Fix Disabled Options (#2368)

Co-authored-by: meister03 <meisterpi@gmail.com>

* Add app_permissions (#2369)

Co-authored-by: meister03 <meisterpi@gmail.com>

* thread_id instead of threadId (#2378)

Co-authored-by: Veeti K <veeti@veetik.com>

* feat: Create `ApplicationCommandFlags` enumerator. (#2384)

Co-authored-by: vxern <vxern@wordcollector.co.uk>

* Small Changes in a bulk pr to close the issues (#2370)

* Initial Commit

* Close #2364

* Add preset whitelist to automod #2356 -> Resolve Issue

* Close [api-docs] AutoMod message intent updates (#5083) #2330

* Breaking Channge | [api-docs] Update message type names (#5093)

* message.interaction.name changed attitude | [api-docs] Update Change_Log.md #2333

* #2333 also closes #2316

* Clarify 45 chars length | Add those on permission plugins | [api-docs] text input label has max 45 characters (#4689) #2137

* Clarify webhook naming restrictions (#4625) #2094

* 8th August Webhook new View Channel perm | Closes #2363

* 8th August Webhook new View Channel perm | Closes #2363

* Document thread_name for execute webhook (#5007) #2263

* Close Update create and modify channel documentation (#4867) #2237

* unnecesary nullable tag in Modify Guild Member params (#5164) #2355

* deno fmt

* deno fmt

* Use .includefor disallowed webhook names"

* Add Missing Enums & #2367, #2362, #2361, #2371, #2372. #2349, #2358, #2325 back

* deno fmt :(

Co-authored-by: meister03 <meisterpi@gmail.com>
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>

Co-authored-by: Tomato6966 <chris.pre03@gmail.com>
Co-authored-by: ITOH <to@itoh.at>
Co-authored-by: meister03 <meisterpi@gmail.com>
Co-authored-by: Veeti K <veeti@veetik.com>
Co-authored-by: vxern <vxern@wordcollector.co.uk>
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-08-23 08:46:01 -04: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
f57b2274e0 fix: delete the typing channel 2022-06-18 23:49:25 +00:00
Skillz4Killz
1943fab075 fix: import error 2022-06-18 23:44:17 +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
181f39bc2b Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-06-17 21:20:12 +00:00
Skillz4Killz
c8223b5768 fix: forgot to push this 2022-06-17 21:20:10 +00: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
Jonathan Ho
dc1ca7c005 feat: reverse transformers (#2305)
* feat: reverse transformer

* fix: cap

* deno fmt

* refactor: change to use toggles list

* Revert "refactor: change to use toggles list"

This reverts commit 31f170f31b.

* fix: forget reverse transformer
2022-06-17 11:38:18 -04:00
Skillz4Killz
5af4c2066e fix: propertie changes 2022-06-16 20:47:25 +00:00
LTS20050703
3f92851432 update DiscordApplicationCommand (#2291)
* update `DiscordApplicationCommand`
`dm_permission` no longer nullable
`default_member_permissions` no longer optional

* deno fmt

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-06-16 12:05:29 -04:00
LTS20050703
c68d95bc90 Image Size 4096 (#2302)
* Image Size 4096

* deno fmt
2022-06-16 12:04:10 -04:00
Skillz4Killz
76e667422b fix: emoty lines 2022-06-15 17:48:57 +00:00
Skillz4Killz
d3caa2d989 fix: remove unused import 2022-06-15 17:48:50 +00:00
Skillz4Killz
91e0af3074 fix: move type to types folder 2022-06-15 17:48:41 +00:00
Skillz4Killz
93dc42c353 fix: test with import type 2022-06-15 17:46:54 +00:00
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