Commit Graph

4694 Commits

Author SHA1 Message Date
Skillz4Killz
c888bb9cf1 Update shared.ts 2023-01-12 17:40:54 -06:00
Lars_und_so
df59106121 fix for #2678 exporting autoModerationRule (#2679) 2022-12-07 20:09:06 -06:00
deepsarda
6b66b155dd Improve grammar and clarity on the site (#2676) 2022-12-04 10:46:52 -06:00
Jonathan Ho
987b4058cb Site: update site structure and add architecture page (#2675)
* remove blog

* fix: license

* chore: bump docusaurus

* separate benchmark page

* move to sub folder

* fix blog path

* Chore: update site

* fix: only deploy on push and dispatch

* fix: on:

* ci: merge workflow

* ci: fix if

* refactor: dump preset
2022-12-04 08:36:10 -06:00
Skillz4Killz
ef452b5d54 Update docusaurus.config.js 2022-12-03 10:12:55 -06:00
Skillz4Killz
349b9151f3 fix: disable docs sync repo 2022-12-03 10:11:26 -06:00
Jonathan Ho
41d9ec4025 Update site.yml (#2674)
* Update site.yml

* Update site.yml
2022-12-02 11:55:38 -06:00
Skillz4Killz
5381e0e3f7 Rename site to site.yml 2022-12-02 07:52:22 -06:00
Skillz4Killz
4f2afb5246 Create site 2022-12-02 07:52:03 -06:00
dependabot[bot]
42719cd2c1 chore(deps): bump minimatch, recursive-readdir and serve-handler (#2596)
Bumps [minimatch](https://github.com/isaacs/minimatch), [recursive-readdir](https://github.com/jergason/recursive-readdir) and [serve-handler](https://github.com/zeit/serve-handler). These dependencies needed to be updated together.

Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `recursive-readdir` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/jergason/recursive-readdir/releases)
- [Changelog](https://github.com/jergason/recursive-readdir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jergason/recursive-readdir/commits/v2.2.3)

Updates `serve-handler` from 6.1.3 to 6.1.5
- [Release notes](https://github.com/zeit/serve-handler/releases)
- [Commits](https://github.com/zeit/serve-handler/compare/6.1.3...6.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: recursive-readdir
  dependency-type: indirect
- dependency-name: serve-handler
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 10:43:10 -06:00
dependabot[bot]
ace5e26154 chore(deps): bump fastify from 4.8.1 to 4.10.2 in /template/bigbot (#2594)
Bumps [fastify](https://github.com/fastify/fastify) from 4.8.1 to 4.10.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.8.1...v4.10.2)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 10:41:13 -06:00
Jonathan Ho
50c6c6fbfb [helper] Fix entity metadata (#2595)
* change to null if no location

* style: deno fmt
2022-11-29 10:12:23 -06:00
Danny May
0910965de5 Fix sending files through a rest proxy (#2593)
* Fix rest proxy not working with files

* Fix some credits

* Add tests

* Fix test

* Remove some usage of any

* Fix mime matching

* Fix formatting issues
2022-11-20 16:50:50 -06:00
dependabot[bot]
5ad03ac562 chore(deps): bump loader-utils from 1.4.1 to 1.4.2 in /site (#2591)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 09:04:14 -06:00
LTS20050703
f615e8520c helpers: add appliedTags to editHelper options (#2590) 2022-11-15 14:37:03 -06:00
Jonathan Ho
5a1887462d Fix: typing (#2589)
* deno fmt

* import SortOrderTypes

* add bigString to reverse snowflake
2022-11-14 15:49:25 -06:00
Andreas Fink
e59ec94f55 BREAKING: fix(plugins/validations): remove bot arg from validateApplicationCommandLength, fixes #2543 (#2553) 2022-11-14 13:02:43 -06:00
Skillz
0628d849e4 fix: remove debugs 2022-11-14 12:54:55 -06:00
LTS20050703
65b7534551 public thread can be in forum channel (#2586)
* public thread can be in forum channel

* Update types/shared.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:36:20 -06:00
LTS20050703
e1ba1ae90d delete follow up and original now support ephemeral (#2585) 2022-11-14 12:35:40 -06:00
LTS20050703
e995a651ce role name must be less than 100 characters (#2584) 2022-11-14 12:35:02 -06:00
LTS20050703
cd5915c8b6 add new select menu components (#2583)
* add new select menu components

* fix: check for component type
2022-11-14 12:34:41 -06:00
LTS20050703
23897b7fcb helpers: Add missing properties for create guild channel (#2581)
* helpers: Add missing properties for create guild channel

* Update helpers/channels/createChannel.ts

* Update helpers/channels/createChannel.ts

* Update helpers/channels/createChannel.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:32:41 -06:00
LTS20050703
84cd7165e2 types: add SortOrderTypes and default_sort_order to DiscordChannel, helpers: add defaultSortOrder to createChannel and editChannel options (#2582)
* types: add SortOrderTypes and default_sort_order to DiscordChannel
helpers: add defaultSortOrder to createChannel and editChannel options

* Update types/discord.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:31:45 -06:00
RanAS
58ac893c3a calculateBasePermissions may not correctly retrieve cached members (#2580)
* fix: this might be an oversight

* Update plugins/permissions/src/permissions.ts

* Update plugins/permissions/src/permissions.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:26:30 -06:00
dependabot[bot]
63b88ee949 chore(deps): bump loader-utils from 1.4.0 to 1.4.1 in /site (#2577)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 12:17:51 -06:00
Skillz4Killz
76ea7d9a67 Bucking Rest (#2588)
* Pending changes exported from your codespace

* fix: more testing needed

* fix: try fix

* fix: global shared scope erro

* fix: cleanup console logs
2022-11-14 12:17:29 -06:00
Jonathan Ho
a385176d8a bench: add cpu correction (#2572)
* feat: add cpu correction

* feat: add more bench

* fix: cpu correction

* chore: add comment

* fix: add unstable to tranform

* fix: comment message

* deno fmt
2022-11-05 11:17:43 -05:00
Jonathan Ho
dc186589cb feat: add benchmark to site (#2567)
* feat: add benchmark to site

* test

* remove test file
2022-11-02 10:13:11 -05:00
Awesome Stickz
788bd85218 fix: add members collection to guild in guild transformer if available (#2569) 2022-11-01 14:56:38 -05:00
Jonathan Ho
d62e442224 enable inlay (#2568)
* enable inlay

* sneak in

* feat: add lock file
2022-11-01 14:29:46 -05:00
Jonathan Ho
8e8f221861 Fix: commit not showing (#2566)
* testing

* remove test

* fix

* fix typo

* chore: remove path from flag
2022-10-31 09:35:57 -05:00
Jonathan Ho
fd82b12c17 Fix Ci (#2565)
* fix: Validate not running cron

* fix: always upload artifact

* fix: generate fail on first comment
2022-10-29 14:45:58 -05:00
Jonathan Ho
7a1a41fac8 CI: Run benchmark (#2563)
* fix(bench): try to fix benchmark

* style: deno fmt

* fix: remove check formating

* fix: add fake token

* fix: tranform

* deno fmt

* add parseFloat

* fix unit

* refactor: change fetch target to benchrepo

* fix: oldBot

* refactor: use custom input

* ci: add tee

* style: deno fmt

* ci: cache deps

* chore: remove

* ci: add memory benchmark

* fix: fix url for main repo

* deno fmt

* ci: add comment-always

* fix: link

* just trying trigger

* ci: only push on main

* fix: type

* fix: range

* fixed

* style: deno fmt

* fix: path

* Add upload output

* style: deno fmt

* ci: add create branch on pr owner's repo

* fix: github.repository

* ci: fix remove id benchmark-action

* fix

* fix: type

* reverse change

* ci: add cache

* feat: add using cache

* bench: update name and ignore previous when ci

* style: name

* feat: fix pr message style

* add more benchmark

* deno fmt

* fix

* fix: wording

* chore: only run on success

* fix: used last head as current commit
2022-10-29 14:22:23 -05:00
Jonathan Ho
716499e865 ci: disable integration test on pr (#2561)
* ci: disable integration test on pr

* chore: add show carryforward

* ci: add dummy action
2022-10-27 10:16:30 -05:00
deepsarda
0fdf5d2528 feat(Amethyst): Update Docs (#2558) 2022-10-27 09:30:59 -05:00
Jonathan Ho
9d9ba4c251 CI: fix path (#2557)
* ci: also upload coverage for pr

* ci: bump codecov action

* ci: add path filter

* ci: fix add checkout

* ci: fix 'true'

* ci: remove /

* ci: add flag to codecov

* ci: add carryforward on integration
2022-10-27 09:29:49 -05:00
Dorian Oszczęda
999fdb2c45 fix: Not being able to clear member timeout. (#2556) 2022-10-27 09:21:40 -05:00
Jonathan Ho
1c7859fea9 Test: clean up CI and test (#2555)
* style: format Deno.test\("(.+)", async \(\) => \{\n([\S\s]*?)^\}\);

* style: format Deno.test\("(.+)", \(\) => \{\n([\S\s]*?)^\}\);

* style: format Deno.test\("(.+)", async \(t\) => \{\n([\S\s]*?)^\}\);

* style: format async function

* chore: turn all to async

* chore: format add t

* style: function format

* chore: add integration and unit test difference

* ci: combine test

* ci: remove if

* ci: add parallel flag

* ci: add UNIT_TEST_GUILD_ID

* ci: static deno version

* ci: add concurrency to Integration test

* ci: bump actions/checkout to v3
2022-10-26 10:41:26 -05:00
Andreas Fink
c07f2454ef feat(types): Add Error 50039: InvalidActivityAction, fixes #2548 (#2554) 2022-10-24 15:35:16 -05:00
Andreas Fink
5808179369 feat(transformers,types): add DEVELOPER_SUPPORT_SERVER feature (fixes #2550) (#2552) 2022-10-24 15:34:48 -05:00
Andreas Fink
3dcc2f0eaf feat(types): add NitroBasic to PremiumTypes, fixes #2547 (#2551) 2022-10-24 14:46:36 -05:00
Jonathan Ho
98f964e294 Bigbot: multiple gateway, bot process (#2545)
* refactor: remove experimental-specifier-resolution flag

* fix: listen on all interface

* fix: tsconfig set target es2022

* refactor: use top level await

* style: deno fmt

* feat: add rabbitmq

* fix:  DEVELOPMENT env not working

* style

* feat: add using message queue

* chore: readme add influx and rabbitmq info to node

* chore: increase rest replica
2022-10-23 07:32:17 -05:00
Jonathan Ho
fd2987313b fix: #2541 (#2542) 2022-10-22 12:48:35 -05:00
Skillz4Killz
173c792a8d Merge branch 'main' of https://github.com/discordeno/discordeno into main 17.1.0 17.0.1 2022-10-22 12:42:24 +00:00
Skillz4Killz
6d17797fb1 RELEASE: 17.1.0 2022-10-22 12:42:21 +00:00
Awesome Stickz
cd28eca500 feat: allow bigint or number to be passed in toggles classes too and not only the object (#2539) 2022-10-22 07:29:05 -05:00
Jonathan Ho
a8a89d4b16 feat(Bigbot): added docker-compose (#2538)
* chore: fix script extension

* chore: remove extention

* fix: at least it run can now

* chore: fix dev script

* refactor: change to use env file for config

* chore: update readme

* refactor: put dotenv to top

* feat: add docker and influxdb

* chore: disable deno fmt on bigbot node_modules

* style: deno fmt

* style: deno fmt after upgrade deno

* chore: remove dev console.log

* chore: reverse the influxdb env

* chore: limit the influxdb to localhost

* refactor: seperate build process

* chore: add user pass docs

* refactor: route all to handler

* fix: skip if webhook not exist

* fix: change to use runMethod for send response

* chore: gateway don't depend on bot

* fix: skip if webhook not exist

* fix: first command and error reply not sending

* fix: add try catch to error reply

* fix: reverse interactive.reply

* feat: add fetch analytics to bot process
2022-10-22 07:28:33 -05:00
Andreas Fink
b7688bc6b0 fix(rest): Fix empty Content-Type header (#2537)
* fix(rest): Fix empty Content-Type header

* Update runMethod.ts

* Update runMethod.ts
2022-10-20 16:17:29 -05:00
Andreas Fink
7e9d42d7f8 fix: only send Content-Type header to proxy if body content is sent (#2536) 2022-10-20 15:30:31 -05:00