Commit Graph

5164 Commits

Author SHA1 Message Date
Skillz4Killz 6aafccacb8 feat: bot layer for big bot temp(incomplete) 2022-08-28 11:18:48 +00:00
Skillz4Killz 94d5b20339 fix: description is not required for ctx cmds 2022-08-28 11:17:43 +00:00
Dorian Oszczęda c9659bca4c feat!: Add return types to helper functions. (#2395)
* feat: Add return types to forum channel helpers.

* fix: Use Discord-defined property names. Add `flags` property.

* feat: Add return types to thread channel helpers.

* feat: Add return types to channel helpers.

* feat: Add return types to server discovery helpers.

* misc!: Consistency: 'remove' -> 'delete'.

* misc!: Add `get` keyword to function and file name.

* feat: Add return types to emoji helpers.

* misc!: Remove unused `bot` parameter. Capitalise 'URL'.

* feat: Add return types to guild automod helpers.

* feat: Add return types to guild scheduled event helpers.

* misc!: Consistency: Rename `emojiURL` to `getEmojiURL`.

* feat: Add return types to guild helpers.

* misc!: Consistency: Add 'get' keyword to function and file names.

* feat: Add return types to invite helpers.

* feat: Add return types to integration helpers.

* feat: Add return types to application command helpers.

* feat: Add return types to followup message helpers.

* feat: Add return types to interaction response helpers.

* feat: Add return type to `createInvite()`.

* feat: Add return types to member helpers.

* misc!: Consistency: Add 'get' keyword to function and file names.

* feat: Add return types to message helpers.

* misc!: Consistency: 'remove' -> 'delete'.

* fix: Use `slice()` to prevent unwanted side effects.

* feat: Add return types to miscellaneous helpers.

* misc!: Consistency: Add 'get' keyword to function and file names.

* feat: Add return types to role helpers.

* feat: Add return types to oauth helpers.

* feat: Add return types to template helpers.

* misc!: Consistency: Add 'guild' keyword to name.

* feat: Add return types to voice helpers.

* fix: Name function correctly.

* feat: Add return types to webhook helpers.

* misc!: Consistency: Rename `sendWebhook` to `sendWebhookMessage`.

* misc: Update exports.

* fix: Imports.

* fix: Change return collection key type from `string` to `bigint`. Remove redundant code.

* misc: Remove `undefined` from `runMethod()` return type.

* style: Remove redundant types.

* style: Rename endpoint call result variables to `result` and `results`.

* misc: Reintroduce `bot` as first parameter.

* misc: Adapt tests to changes made to helpers.

* fix: Object being transformed twice.

* style: Improve naming consistency of remaining files.

* misc: `bigint` -> `number`.

* style: Remove explicit `undefined` return.

* style: Remove `void` operator in favour of generic type.

* misc: Add missing `await` keyword.

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

* style: Make `reason` property optional instead of `undefined`-able.

* misc: Write out properties manually instead of using the spread operator.

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-08-28 07:17:08 -04:00
Skillz4Killz dc22c06912 fix: missing util exports 2022-08-28 11:10:41 +00:00
Skillz4Killz becef7bc46 release: rc50 Embeds package 13.0.0-rc50 2022-08-26 23:47:06 +00:00
Skillz4Killz b8b961bdd4 fix: fmt 2022-08-26 23:46:24 +00:00
Skillz4Killz 196bcb1d70 feat: Embeds package 2022-08-26 23:46:06 +00:00
Skillz4Killz 1e21f95655 feat: big bot gateway proxy 2022-08-26 17:51:41 +00:00
Skillz4Killz 497132068d release: rc49 logger package 13.0.0-rc49 2022-08-26 17:45:28 +00:00
Skillz4Killz 8d7eb05a28 fix: fmt 2022-08-26 17:43:55 +00:00
Skillz4Killz 809c34f56b fix: missing packages/mod.ts file 2022-08-26 17:42:57 +00:00
Skillz4Killz 23dfe04dfa feat: add logger package 2022-08-26 17:37:32 +00:00
Skillz4Killz 9183ade29d fix: type error in rest proxy 2022-08-26 02:02:39 +00:00
Skillz4Killz 8e95685425 release: ci fixes release rc48 13.0.0-rc48 2022-08-26 01:59:40 +00:00
Skillz4Killz 7d19b42cd8 fix: fmt 2022-08-26 01:55:03 +00:00
Skillz4Killz e0038f67ca fix: invalid json format in deno.json 2022-08-26 01:54:15 +00:00
Skillz4Killz ed262021ca fix: more invalid ci files 2022-08-26 01:52:58 +00:00
Skillz4Killz 711b2c10c7 fix: ci invalid template caching 2022-08-26 01:46:32 +00:00
Skillz4Killz 24af65a676 release: rc47 support easier rest analytics 13.0.0-rc47 2022-08-26 00:30:01 +00:00
Skillz4Killz 4cf3e61e96 feat: big bot rest analytics 2022-08-26 00:29:25 +00:00
Skillz4Killz 23bd99db7e chore: small readme fixes 2022-08-25 20:20:01 +00:00
Skillz4Killz 84d3ca2575 fix: remove old files 2022-08-25 20:14:57 +00:00
Skillz4Killz 61614babba fix: big bot template rest proxy 2022-08-25 20:14:25 +00:00
Skillz4Killz b343ef70ab release: rc46 to prepare templates 13.0.0-rc46 2022-08-25 19:16:32 +00:00
Skillz4Killz 3100f2cb66 fix: fmt 2022-08-25 18:39:20 +00:00
Yaikava de8f5215ca permissions.ts - fix highest role (#2393) 2022-08-25 14:39:00 -04:00
Skillz4Killz 270116a474 BREAKING: last remaining major break 2022-08-25 18:37:09 +00:00
Skillz4Killz 67230bc95a fix: edge case for large bot crashes Closes #2311 2022-08-25 18:33:25 +00:00
Skillz4Killz cdd160d5eb Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-08-25 18:02:07 +00:00
Skillz4Killz 88c0835953 fix: automod reason support Closes #2334 2022-08-25 18:02:03 +00:00
LTS20050703 1ea2a81363 Fix cache plugin doesn't update voice state update (#2388)
* Fix cache plugin doesn't update voice state update

* fix putting fix in wrong file

* deno fmt

* delete voice state

* deno fmt

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-08-25 11:43:33 -04:00
Skillz4Killz b89d3ca078 fix: missing application id Closes #2337 2022-08-25 15:39:41 +00:00
Skillz4Killz 97c344783b fix: get invite helper. Closes #2389 2022-08-25 15:21:07 +00:00
Skillz4Killz 5afe691a0b fix: fmt 2022-08-24 05:25:34 +00:00
Skillz4Killz 359db97a39 fix: pass tests 2022-08-24 05:25:00 +00:00
Skillz4Killz 8282af16ac fix: type error 2022-08-23 15:12:26 +00:00
Skillz4Killz 2286d31468 fix: delete invisible 2022-08-23 15:12:20 +00:00
Skillz4Killz f9fb29d702 fix: missing reverse transformers 2022-08-23 15:02:31 +00:00
Skillz4Killz b16a3136cf Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-08-23 14:56:51 +00:00
Skillz4Killz e843b72edb fix: type errors 2022-08-23 14:56:48 +00:00
meister03 405e4a7533 Discordeno.js guide (#2313)
* Update Template and Add Discordeno.js notes in favour of depreciating Discord Structures

* Add package.json

* 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:31:14 -04:00
meister03 b5105cbc32 Fix beginner template (#2315)
* Fix beginner template

* deno fmt

* 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:54 -04:00
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