Commit Graph
100 Commits
Author SHA1 Message Date
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
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
ITOH c9a9cdc500 feat(plugins): better typing (#2120) 2022-03-21 22:13:15 -04:00
ITOHandSkillz4Killz 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
ITOH c5d6502464 fix(dnt): add transformers (#2076)
* fix(dnt): add transformers

* Update dnt.ts
2022-02-27 15:17:02 -05:00
ITOHandSkillz4Killz 4e06ed6b2c fix(types): SelectOption#default is not required (#2066)
* fix(types):  is not required

* ddcmp

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-25 10:07:48 -05:00
ITOH d1cfe1d1d1 fix(README): logo image url 2022-02-21 15:50:41 +00:00
ITOH 72294936e0 Delete r.ts 2022-02-16 18:28:11 +01:00
ITOHandTriForMine 7204665e77 fix(plugins): await old function return (#2065)
* fix(plugins): await old function return

* Update plugins/permissions/src/channels/stage.ts

lol

Co-authored-by: TriForMine <quentin.nicolini@hotmail.fr>

Co-authored-by: TriForMine <quentin.nicolini@hotmail.fr>
2022-02-15 20:06:06 +00:00
ITOH cf747d5a63 feat!: update to api version 10 (#2063)
* testing stuff

* feat: update to api version 10

* broken url import

* do changes

* delete test file
2022-02-14 20:00:58 +01:00
ITOH cfbfb67c8e refactor!: rename the ws folder to gateway (#2037) 2022-02-11 05:21:10 -05:00
ITOH 7f3b86c6bd ci: publish workflow change the name to publish (#2029) 2022-02-09 20:22:05 -05:00
ITOH 75a8aaa064 feat(types): add value to InputTextComponent (#2026) 2022-02-09 14:08:49 -05:00
ITOH 6c500f2d69 style: deny changes to deno.json (#2022) 2022-02-09 12:50:59 -05:00
ITOH 9c7a7a18e3 ci: run local tests on PR (#2024) 2022-02-09 12:34:45 -05:00
ITOH 0153020368 style: change git to use lf line endings (#2023)
* style: set git to use `lf` line endings

* Update .gitattributes

* Normalize all the line endings
2022-02-09 12:34:30 -05:00
ITOH 3f1a1e73e6 refactor(rest)!: move createRestManager to rest module (#2013) 2022-02-08 18:05:51 -05:00
ITOH d2297d5f39 refactor(gateway)!: move createGatewayManager to gateway module (#2012) 2022-02-08 16:25:46 -05:00
ITOH 2e3984c98e ci: do not run tests on PR 2022-02-08 19:50:29 +00:00
ITOH 4ba94d0f4f ci: also run tests on pull requests (#2007) 2022-02-08 14:44:59 -05:00
ITOH b70c3c8fcb refactor!: do not store token prefixed with Bot (#2002) 2022-02-05 12:57:15 -05:00
ITOH 4d64138520 Merge branch 'main' of https://github.com/discordeno/discordeno 2022-02-04 22:41:56 +01:00
ITOH 943e7af5ec fix(types): handle communicationDisabledUntil correctly (#1999)
* types(GuildMemberUpdate): fix invalid type for `communicationDisabledUntil`

* types(transformers): parse `communicationDisabledUntil`
2022-02-04 22:40:09 +01:00
ITOH f6e75fc328 style: run deno fmt 2022-02-04 22:40:09 +01:00
ITOH 41a9c00070 ci(npm): publish to npm on tag creation (#1997)
* Create npm.yml

* fix invalid on

* Update dnt.ts

* Update npm.yml
2022-02-04 22:40:08 +01:00
ITOH 6bef93c9cb fix(cname): website domain not getting set (#1996) 2022-02-04 22:39:54 +01:00
ITOH 204e88b68b fix(types): handle communicationDisabledUntil correctly (#1999)
* types(GuildMemberUpdate): fix invalid type for `communicationDisabledUntil`

* types(transformers): parse `communicationDisabledUntil`
2022-02-04 12:59:35 -05:00
ITOH a2facdc450 style: run deno fmt 2022-02-04 18:52:32 +01:00
ITOH 218a3a561e ci(npm): publish to npm on tag creation (#1997)
* Create npm.yml

* fix invalid on

* Update dnt.ts

* Update npm.yml
2022-02-04 12:17:31 -05:00
ITOH ff5b106010 Create CNAME (#1996) 2022-02-04 10:07:12 -05: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
ITOH 637e2c2a90 ci(site_tests): fix invalid pr path filter (#1991) 2022-02-03 17:17:02 -05:00
ITOH 511f4ed940 chore(template): remove sublicensing 2022-02-03 22:33:12 +01:00
ITOH 5f25263bd4 chore(template): to main repo (#1988)
* chore: move template to main repo

* ci

* Update sync_repos.yml
2022-02-03 18:02:44 +00:00
ITOH a8d6e4f152 Update README.md (#1987) 2022-02-03 12:34:30 -05:00
ITOH 610a6fbaa7 ci: fix docs folder has been renamed to site (#1986)
* Update and rename docs.yml to site.yml

* Update sync.yml

* Update sync.yml
2022-02-03 12:24:18 -05:00
ITOH 24239053f3 docs: move to docusaurus (#1984)
* new site start

* ci: test docusaurus

* we use npm

* Update site_tests.yml

* Update site_tests.yml

* Update site_tests.yml

* do not ignore package.json

* Update package-lock.json

* Create deploy.yml

* Update docusaurus.config.js

* update authors

* Update docusaurus.config.js

* Update deploy.yml

* remove blog posts

* Update README.md

* delete old docs

* Update .gitignore

* delete template images

* Create 2022-02-03-welcome.md
2022-02-03 11:57:13 -05:00
ITOH 2c49a01f1a chore(.github): update contributing guidelines 2022-02-01 18:06:59 +01:00
ITOH 227f691c6e chore(.github): remove @ayntee from codeowners
Ayntee is currently not here so we can remove him from codeowners for now and add him back when he is back.
2022-02-01 16:49:55 +01:00
ITOH f1e2b88f0f fmt 2022-02-01 16:34:16 +01:00
ITOH 8781c22b83 fix(workflows): only run workflow when necessary 2022-02-01 16:34:01 +01:00
ITOHandlts20050703 012b375edc Update README.md
Co-authored-by: lts20050703 <87189679+lts20050703@users.noreply.github.com>
2022-02-01 16:25:46 +01:00
ITOH c0b6322369 Update README.md 2022-02-01 15:18:39 +00:00
ITOH c3f8589898 Update sync.yml 2022-02-01 16:10:32 +01:00
ITOH 309839f733 Update README.md 2022-02-01 16:08:03 +01:00
ITOH 921ac6ef70 Update docs.yml 2022-02-01 16:07:57 +01:00
ITOH f7b3655ab5 asfdasdf 2022-02-01 16:03:53 +01:00
ITOH c77953e241 Update README.md 2022-02-01 16:03:47 +01:00
ITOH a8c104ec03 cleanup 2022-02-01 16:03:39 +01:00
ITOH a517545b12 Update README.md 2022-02-01 15:59:53 +01:00
ITOH eb928309bd test other workflow 2022-02-01 15:59:35 +01:00
ITOH b67b28670b f 2022-02-01 15:53:32 +01:00
ITOH 8b4a7e4136 Update README.md 2022-02-01 15:52:21 +01:00
ITOH e9edf1f7e3 Update docs.yml 2022-02-01 15:51:29 +01:00
ITOH 11abe33ab7 Update docs.yml 2022-02-01 15:49:53 +01:00
ITOH 656ae0ff6a Update README.md 2022-02-01 15:47:46 +01:00
ITOH baaf35df81 Update docs.yml 2022-02-01 15:47:39 +01:00
ITOH f359fe1f39 Update README.md 2022-02-01 15:38:30 +01:00
ITOH 1f678fe46d Update docs.yml 2022-02-01 15:37:55 +01:00
ITOH 2288b27de5 test 2022-02-01 15:35:15 +01:00
ITOH 0fd41f6b89 Merge pull request #1965 from discordeno/docs
refactor(docs): move from docs repo to main
2022-02-01 15:33:32 +01:00
ITOH 7fc6b91979 feat(workflows): doc sync action
This still needs to be tested
2022-02-01 15:32:50 +01:00
ITOH 72b8854a99 refactor(docs): move from docs repo to main 2022-02-01 15:20:50 +01:00
ITOH 7920853391 Merge pull request #1938 from discordeno/plugins
refactor: move plugins to the main repo
2022-01-27 20:25:38 +01:00
ITOH 886021e751 remove the sublicensing 2022-01-26 19:04:03 +01:00
ITOH 7d2e157148 move plugins to the main repo 2022-01-26 19:02:34 +01:00
ITOH 4ed54a91b5 Merge pull request #1897 from Disq-Code-Bot/fix/secret-key-option
Fix/secret key option
2022-01-18 20:40:22 +01:00
ITOH fccf169352 who knows 2022-01-07 12:25:56 +01:00
ITOH 10c2b25a0c Merge pull request #1878 from lts20050703/#1877-Document-max-value-for-GET-event-users-limit-param
Document max value for GET event users limit param
2022-01-05 15:10:59 +01:00
ITOH ecafae8e87 Merge pull request #1875 from Amatsagu/patch-3
Update headers for REST Controller
2022-01-01 18:45:20 +01:00
ITOH 8ad41e8f57 chore(LICENSE): update year
🥳 Happy new year ya all!
2022-01-01 15:37:46 +01:00
ITOH 77d8f26e85 Merge pull request #1870 from Reboot-Codes/main
Add descriptions for ApplicationCommandTypes
2021-12-27 19:07:21 +01:00
ITOH 2cb95f1830 add(types): InvalidGuild & TheWriteActionYouArePerformingOnTheServerHasHitTheWriteRateLimit to JsonErrorCodes (#1853)
Add 20029 & 50055 to JsonErrorCodes enum
2021-12-17 17:50:04 +01:00
ITOH a9cd3b2be9 add(types): TheRequestBodyContainsInvalidJSON to JsonErrorCodes (#1852)
Add 50109 error code to JsonErrorCodes enum
2021-12-17 17:49:18 +01:00
ITOH 5f043e1279 fix(types): add Guild#premiumProgressBarEnabled (#1845)
Add {Guild,ModifyGuild}#premiumProgressBarEnabled
2021-12-13 23:14:35 +01:00
ITOH 778cc730ae Update src/types/guilds/modifyGuild.ts 2021-12-13 23:12:59 +01:00
ITOH dcba5a0cd0 fix(types)!: channel is nullable (#1844)
Convert Invite#channel to a nullable property
2021-12-13 17:23:50 +01:00
ITOH f04582d17a Merge pull request #1843 from lts20050703/main
fix incompatible version in minimal example in README
2021-12-13 05:26:51 +00:00
ITOH 338b56f2ac Merge pull request #1842 from lts20050703/main
Fix README Minimal Example
2021-12-10 06:46:33 +00:00
ITOH 1b9b41736f Merge pull request #1841 from discordeno/for-yui
for yui
2021-12-09 16:11:10 +00:00
ITOH 579bf369ba for yui 2021-12-09 17:04:55 +01:00
ITOH fb5c738b53 Merge pull request #1838 from Yaikava/patch-1
 feat: collections - export interfaces for class extending
2021-12-08 14:33:44 +00:00
ITOH 5ccc64ffbe Merge pull request #1832 from lts20050703/main
fix README example and benchmark submodule
2021-12-07 08:44:34 +00:00
ITOH 95c5c6bc9d feat modals 2021-12-03 23:07:51 +01:00
ITOH 91accd2a48 Merge pull request #1812 from discordeno/parallel-tests-style
fix: improve unit tests style
2021-11-22 17:01:00 +00:00
ITOH a0a7334341 foooo 2021-11-20 19:00:45 +00:00
ITOH c8da3ef2ea Merge pull request #1809 from discordeno/readme-fixx
fix(README): minimal example
2021-11-20 18:59:25 +00:00
ITOH a9556953f2 fix(README): minimal example 2021-11-20 19:58:54 +01:00
ITOH d149c853eb Merge pull request #1808 from discordeno/json-error-30038
add(types): JsonErrorCodes::MaximumNumberOfUncompletedGuildScheduledEventsReached
2021-11-20 18:53:42 +00:00
ITOH a801fa4fda add(types): JsonErrorCodes::MaximumNumberOfUncompletedGuildScheduledEventsReached 2021-11-20 19:50:25 +01:00
ITOH 6a09988c01 impr 2021-11-18 18:43:12 +01:00
ITOH 79e1c6579c Merge pull request #1736 from discordeno/try-to-fix-reaction-endpoints
Try to fix reaction endpoints
2021-11-17 18:33:04 +00:00
ITOH 99e7317490 ifk 2021-11-17 19:26:20 +01:00
ITOH dfea524c19 Merge branch 'main' into try-to-fix-reaction-endpoints 2021-11-17 19:19:54 +01:00
ITOH 4dd75ddb3d Merge pull request #1790 from discordeno/for-1788
feat(types): add rateLimitPerUser to StartThreadBase
2021-11-16 18:48:18 +00:00