Commit Graph

4840 Commits

Author SHA1 Message Date
ITOH
f41fe4dbb5 ci: add automatic pr labeler (#2912)
* ci: add automatic pr labeler

* ci: add specific pr target types for the labeler
2023-03-30 19:34:38 +00:00
ITOH
678063993a Delete docs directory 2023-03-30 20:58:16 +02:00
ITOH
1093befcad fix(website): move to new url (#2914) 2023-03-30 18:09:02 +00:00
ITOH
84396492a6 fix(website): CNAME (#2913) 2023-03-30 18:08:25 +00:00
ITOH
d757773e95 perf(rest): remove regex check from RestManager.simplifyUrl (#2910)
Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
2023-03-30 10:05:01 -05:00
ITOH
4fe621ef76 fix(utils): leaky bucket slow refill test (#2907)
* fix(utils): leaky bucket slow refill test

* fix the fix

* remove left comments

* Update packages/utils/tests/bucket.spec.ts

Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>

---------

Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
2023-03-30 09:54:37 -05:00
ITOH
fdf0d53f9e refactor(rest)!: improve RestManager.createRequest (#2906)
* refactor(rest): simplify `manager.simplifyUrl`
The changes improve readability and performance by a small margin.

* refactor(rest)!: improve `RestManager.createRequest`
- AuditLog Reasons: options.body.reason => options.reason
- options.body can now be FormData

* forgot those

* suggestions

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-03-30 09:54:02 -05:00
Skillz4Killz
701d8b6dbb chore: remove client pkg (#2903)
* chore: remove client pkg

* yarn install

* fix: yarn install

---------

Co-authored-by: ITOH <to@itoh.at>
2023-03-30 09:48:19 -05:00
ITOH
7fae8c0315 refactor(rest): simplify manager.simplifyUrl (#2905)
* refactor(rest): simplify `manager.simplifyUrl`
The changes improve readability and performance by a small margin.

* fix tests
2023-03-29 22:35:17 +02:00
ITOH
efcc966adf chore(.github): add leads to CODEOWNERS (#2904)
* chore(.github): add leads to CODEOWNERS

* GitHub Error

* Update CODEOWNERS

* Update .github/CODEOWNERS

* Update .github/CODEOWNERS

* Update CODEOWNERS

* Update .github/CODEOWNERS

Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>

---------

Co-authored-by: meister03 <69507874+meister03@users.noreply.github.com>
Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
2023-03-29 15:22:22 -05:00
ITOH
cb27cae74b Create CNAME 2023-03-29 20:25:50 +02:00
ITOH
28cbcee61d fix(client): remove 2023-03-29 19:14:20 +02:00
ITOH
69d818cf84 fix(bot): channel transformer managed 2023-03-29 19:08:19 +02:00
ITOH
9d01eff6fd feat(website): move to discordeno.js.org (#2902) 2023-03-29 11:01:28 -05:00
ITOH
bfd1936581 feat(bot,client,types): add role subscriptions (#2899)
Closes: https://github.com/discordeno/discordeno/issues/2859

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-03-29 10:49:04 -05:00
ITOH
a715140df6 feat(client,rest,types): add GetAuditLog.after (#2898)
* feat(client,rest,types): add `GetAuditLog.after`

closes: https://github.com/discordeno/discordeno/issues/2860

* Apply suggestions from code review

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-03-29 10:46:21 -05:00
ITOH
08fb3fc5b5 feat(client,types): add FormLayout enum (#2900) 2023-03-29 10:45:15 -05:00
ITOH
6d43ca11a7 feat(bot,types): add Channel.managed (#2897)
Closes: https://github.com/discordeno/discordeno/issues/2871

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-03-29 10:41:05 -05:00
Skillz4Killz
810f87ff17 docs(README): remove beginner only clause & old docs link (#2901) 2023-03-29 17:35:38 +02:00
ITOH
8c1baac466 Merge branch 'main' of github.com:discordeno/discordeno 2023-03-29 15:46:36 +02:00
ITOH
520de0fb70 docs(types): update CreateGuildStickerOptions file size (#2889)
Previously the maximum file size has been documented as 500 KB. This has
now been updated to 512 KB.

Closes: https://github.com/discordeno/discordeno/issues/2875
2023-03-29 15:46:32 +02:00
ITOH
776cacc183 feat(client): make MessageTypes up to date (#2888)
Added all missing `MessageTypes`:
 - AUTO_MODERATION_ACTION (24)
 - ROLE_SUBSCRIPTION_PURCHASE (25)
 - INTERACTION_PREMIUM_UPSELL (26)
 - STAGE_START (27)
 - STAGE_END (28)
 - STAGE_SPEAKER (29)
 - STAGE_TOPIC (31)
 - GUILD_APPLICATION_PREMIUM_SUBSCRIPTION (32)

Closes: https://github.com/discordeno/discordeno/issues/2877
2023-03-29 15:46:32 +02:00
ITOH
9cfcc971ca feat(bot,types): add customMessage to AutoModerationActionMetadata (#2887)
* feat(bot,types): add `customMessage` to `AutoModerationActionMetadata`

Closes: https://github.com/discordeno/discordeno/issues/2881

* docs(types):  add clarification for the supported action type
2023-03-29 15:46:31 +02:00
Skillz4Killz
bb57e39fed fix: update message type with new types 2023-03-29 15:46:31 +02:00
ITOH
41925bc2a7 Merge branch 'main' of github.com:discordeno/discordeno 2023-03-29 14:48:44 +02:00
ITOH
cac84204c3 chore(LICENSE): update year 2023-03-29 14:48:05 +02:00
ITOH
3a8172caec docs(types): update CreateGuildStickerOptions file size (#2889)
Previously the maximum file size has been documented as 500 KB. This has
now been updated to 512 KB.

Closes: https://github.com/discordeno/discordeno/issues/2875
2023-03-29 00:33:05 -05:00
Skillz4Killz
06b1f15d87 Merge branch 'main' of https://github.com/discordeno/discordeno 2023-03-29 05:32:22 +00:00
Skillz4Killz
a5a77de273 fix: update message type with new types 2023-03-29 05:32:18 +00:00
ITOH
0936448250 feat(client): make MessageTypes up to date (#2888)
Added all missing `MessageTypes`:
 - AUTO_MODERATION_ACTION (24)
 - ROLE_SUBSCRIPTION_PURCHASE (25)
 - INTERACTION_PREMIUM_UPSELL (26)
 - STAGE_START (27)
 - STAGE_END (28)
 - STAGE_SPEAKER (29)
 - STAGE_TOPIC (31)
 - GUILD_APPLICATION_PREMIUM_SUBSCRIPTION (32)

Closes: https://github.com/discordeno/discordeno/issues/2877
2023-03-29 00:30:45 -05:00
ITOH
08c65e3b11 feat(bot,types): add customMessage to AutoModerationActionMetadata (#2887)
* feat(bot,types): add `customMessage` to `AutoModerationActionMetadata`

Closes: https://github.com/discordeno/discordeno/issues/2881

* docs(types):  add clarification for the supported action type
2023-03-29 00:24:37 -05:00
Skillz4Killz
7152bbe9b2 fix: increase util test coverage 2023-03-27 14:44:00 +00:00
Skillz4Killz
c44d32f93c Update package.json 2023-03-26 21:06:37 -05:00
Skillz
2faeab1a6c fix: logger weird bug 2023-03-26 14:58:15 -05:00
Skillz
eda9a75318 fix: type error in e2e bot 2023-03-26 14:43:52 -05:00
Skillz
edc47daf9d fix: fmt/lint bugs 2023-03-26 13:44:39 -05:00
Skillz
610212a567 fix: return type on bot utils 2023-03-26 13:40:09 -05:00
Skillz
6b5d872ec4 fix: void return bug 2023-03-26 13:33:28 -05:00
Skillz
f2b6590a72 fix: /bot imports in bot pkg 2023-03-26 12:28:30 -05:00
Skillz
6ffb584cad Merge branch 'main' of https://github.com/discordeno/discordeno into main 2023-03-26 11:32:21 -05:00
Skillz
3b01ea12e6 fix: more unit tests coverage for utils 2023-03-26 11:31:31 -05:00
Skillz4Killz
39bac9fe0e fix: ts errors 2023-03-26 12:34:41 +00:00
dependabot[bot]
fe81c94fc0 chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#2838)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-25 10:36:13 -05:00
Jonathan Ho
a6c3ffe0ee test(bot): fix test type (#2839) 2023-03-25 10:35:47 -05:00
Awesome Stickz
206bae473b feat: added handlers and transformers to bot package (#2843) 2023-03-25 10:35:05 -05:00
Skillz
eef8887bc3 feat: gateway.preferSnakeCase 2023-03-24 11:18:26 -05:00
Skillz4Killz
922b31b308 fix: exit on rest e2e and more tests 2023-03-23 04:42:19 +00:00
Jonathan Ho
f1f4322673 ci(site): add trigger on more file (#2837) 2023-03-18 20:45:22 -05:00
Skillz
ae40e69e99 fix: use meisters brilliant worker id formula 2023-03-16 12:47:19 -05:00
Skillz
cffd2ece16 docs: changelog update 2023-03-16 12:23:41 -05:00