Commit Graph

4524 Commits

Author SHA1 Message Date
Dorian Oszczęda
bb63f2f7e8 fix: Add missing user property. (#2398) 2022-08-29 10:47:07 -04:00
Skillz4Killz
cb1a209dd4 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-08-28 23:09:22 +00:00
Skillz4Killz
9a823cb0f5 fix: prisma requests and typings 2022-08-28 23:09:18 +00:00
Dorian Oszczęda
ddf2046554 fix: Add missing properties to application command create/update payloads. (#2397)
* misc: Add `descriptionLocalizations` to properties omitted for context commands.

* style: 'option/s' -> 'command/s'.

* fix: Add missing properties to payloads.
2022-08-28 14:12:41 -04:00
Skillz4Killz
8c4c51e8f1 fix: fmt 2022-08-28 11:34:38 +00:00
Skillz4Killz
ac82931e98 release: rc51 several small bug fixes and improvements to typings 13.0.0-rc51 2022-08-28 11:33:35 +00:00
Skillz4Killz
8c5fcbfefa fix: double Invite declarations 2022-08-28 11:29:25 +00:00
Skillz4Killz
d0b0884b89 fix: broken unit tests 2022-08-28 11:24:05 +00:00
Skillz4Killz
e064aa2aab fix: fmt 2022-08-28 11:19:13 +00:00
Skillz4Killz
9d6cc2f210 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-08-28 11:18:53 +00:00
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