Commit Graph

4225 Commits

Author SHA1 Message Date
Skillz4Killz
0ec7fac393 fix: fmt 2022-03-25 14:13:45 +00:00
Skillz4Killz
9d9a142bca fix: missing transformer sorry tri 2022-03-25 13:00:16 +00:00
Skillz4Killz
27e863def0 fix: big bot template 2022-03-25 12:44:21 +00:00
Skillz4Killz
3bec0cea4d fix: use embed reverse transformer 2022-03-25 12:32:59 +00:00
Skillz4Killz
176d3c0ba7 fix: beginner template 2022-03-25 10:58:39 +00:00
Skillz4Killz
9a539ba17f Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-03-25 10:38:17 +00:00
Skillz4Killz
92c281529d fix: sendWebhook components 2022-03-25 10:38:12 +00:00
ITOH
2c2ccb252c feat(helpers,types)!: add guild template transformer (#2132)
* feat(helpers,types)!: add guild template transformer
This adds a template transformer. Also this fixes incorrect type definitions regarding templates.

Breaking Change: The previously called `Template` interface which was used for creating templates has been renamed to `CreateTemplate`

* fmt

* forgot to add this

* use data
2022-03-25 06:15:17 -04:00
ITOH
4bdd8330d0 feat(plugins): validate interaction response title (#2130)
Modal titles must have a length between 1 and 45 characters.
This adds a check to the permissions plugin.

Reference: https://github.com/discord/discord-api-docs/pull/4649
2022-03-24 19:04:23 -04:00
dependabot[bot]
a575324c9d build(deps): bump node-forge from 1.2.1 to 1.3.0 in /site (#2134)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 17:28:48 +00:00
dependabot[bot]
292f710599 build(deps): bump minimist from 1.2.5 to 1.2.6 in /site (#2135)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 17:28:32 +00:00
ITOH
4b469c7290 ci: fix tests for changes made to the gateway/ directory (#2127) 2022-03-24 10:02:28 -04:00
ITOH
4ad02d0a20 ci: cache template code (#2126)
* ci: cache template code

* f

* f

* f

* f
2022-03-24 10:02:01 -04:00
ITOH
75eb35df6e fix(plugins): createApplicationCommand checks 2022-03-24 14:34:26 +01:00
ITOH
b0ecdf1a62 fix(plugins): createApplicationCommand validation 2022-03-24 14:29:01 +01:00
ITOH
c830055a52 style: run deno fmt 2022-03-23 21:23:27 +01:00
Skillz4Killz
213b4eebdf fix: remove deprecated props 2022-03-22 22:57:16 +00:00
Skillz4Killz
de42065665 fix: thread member update event 2022-03-22 22:48:03 +00:00
Skillz4Killz
60a7ba5c11 fix: add modifyRolePositions 2022-03-22 21:51:30 +00:00
Skillz4Killz
0d920393c4 fix: deno fmt 2022-03-22 21:38:41 +00:00
Skillz4Killz
0cd336f3be fix: add GUILD_LOADED_DD to types 2022-03-22 18:19:08 +00:00
Skillz4Killz
084052f8eb release: rc27 13.0.0-rc27 2022-03-22 15:35:18 +00:00
LTS20050703
086258d1ea fix mod.ts export (#2121)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-03-22 11:28:33 -04:00
Skillz4Killz
6bda23296b fix: set lastSentAt on each heartbeat 2022-03-22 14:36:00 +00:00
Skillz4Killz
1303e77655 fix: optionalize handle arrays better. Thx yui 2022-03-22 12:51:02 +00:00
Skillz4Killz
5d3d6ba507 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-03-22 10:17:44 +00:00
Skillz4Killz
4787a430b7 fix: interaction data option transformer 2022-03-22 10:17:41 +00:00
ITOH
c9a9cdc500 feat(plugins): better typing (#2120) 2022-03-21 22:13:15 -04:00
Skillz4Killz
2644d4b171 fix: test with invalid type 2022-03-21 12:22:10 +00:00
Skillz4Killz
efeec03354 fix: cleanup some old ts-ignores 2022-03-21 12:20:31 +00:00
Skillz4Killz
fe42864b00 fix: add nitroStickerPacks helper. Closes #2095 2022-03-21 12:08:43 +00:00
Skillz4Killz
90d5744e14 fix: typo conditional. Thanks itoh! 2022-03-21 11:09:16 +00:00
Skillz4Killz
b22e7f954f fix: select menu placholder max length 150. Closes #2085 2022-03-21 11:08:15 +00:00
Skillz4Killz
ff421688f1 fix: add perm checking for timeouts. Closes #1972 2022-03-21 11:04:58 +00:00
Skillz4Killz
1925cb3e78 fix: add descriptions to enum Closes #2091 2022-03-21 10:50:09 +00:00
Skillz4Killz
8bdee65f68 release: rc26 13.0.0-rc26 2022-03-21 08:25:36 +00:00
Skillz4Killz
1d1e103a31 fix: temp solution for editWebhook cache override 2022-03-21 08:24:54 +00:00
Skillz4Killz
307a9a83fe fix: edit webhook perm checking 2022-03-21 08:24:37 +00:00
Skillz4Killz
1ea7c466b6 fix: lil bit of cleanup 2022-03-21 08:07:02 +00:00
Skillz4Killz
67d8064be3 fix: typeguard for context cmds 2022-03-21 08:05:41 +00:00
Skillz4Killz
45b075c5b5 fix: discriminator is now a string 2022-03-20 17:38:53 +00:00
Awesome Stickz
b25801c9e3 fix: types exports of transformers (#2119)
* fix: types exports of transformers

* fix: deno fmt
2022-03-20 12:33:24 -04:00
Skillz4Killz
0769b442c1 fix: view channel required for joining. Closes #2009 2022-03-20 15:27:09 +00:00
Skillz4Killz
a4ab58122b BREAKING: rename permission. Closes #2074 2022-03-20 15:22:00 +00:00
Skillz4Killz
0fc1a68022 BREAKING: scheduled event is optional 2022-03-20 15:19:25 +00:00
Skillz4Killz
ef6c4a8d05 Merge branch 'main' of https://github.com/discordeno/discordeno into main 13.0.0-rc25 2022-03-20 14:51:44 +00:00
Skillz4Killz
3d81fa2008 fix: add newly_created prop to channel for threads 2022-03-20 14:51:42 +00:00
Skillz4Killz
ffb48d71ee release: rc25 2022-03-20 14:51:06 +00:00
ITOH
e4a91b77d0 ci(workflows): fix publish to npm on version constant update (#2118)
GitHub workflows cannot trigger another workflow. Due to this the npm workflow currently did not run on a version constant update.
Since we will only publish with a version constant update there should be no problem when we move the npm release in there.

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-03-20 10:50:38 -04:00
LTS20050703
8d4c0069b0 (transformers) return as Optionalize<typeof> (#2117)
* (transformers) return as Optionalize<typeof>

* fix check error

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-03-20 10:35:48 -04:00