Commit Graph

4673 Commits

Author SHA1 Message Date
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
Jonathan Ho
cedf75f28e fix: bigbot template (#2535)
* 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
2022-10-20 09:44:34 -05:00
deepsarda
783da60779 feat(Amethyst): Add a basic guide. (#2534)
* feat(Amethyst): Add a basic guide.

* Fix formating
2022-10-19 20:32:39 -05:00
Skillz4Killz
ae1cca9de9 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-10-14 15:13:02 +00:00
Skillz4Killz
ce3060b079 fix: shard total log 2022-10-14 15:12:59 +00:00
dependabot[bot]
7b7fcbaa9a chore(deps): bump fastify from 4.5.3 to 4.8.1 in /template/bigbot (#2505)
Bumps [fastify](https://github.com/fastify/fastify) from 4.5.3 to 4.8.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.5.3...v4.8.1)

---
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-10-11 15:57:07 +02:00
Skillz4Killz
c1af0c9973 fix: urls for template deps 2022-10-09 22:58:09 +00:00
Skillz4Killz
d7862ca6ac RELEASE: 17.0 17.0.0 2022-10-09 22:53:50 +00:00
Skillz4Killz
49cfdcbf73 fix: temp fix to use latest github 2022-10-09 22:47:20 +00:00
Skillz4Killz
1c2d82077f Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-10-09 22:41:11 +00:00
Skillz4Killz
dc1ec67c46 fix: remove duplicate functions 2022-10-09 22:41:06 +00:00
Yaikava
e13342d27e fix: permissions plugin - connect to voice (#2504) 2022-10-09 12:42:59 -05:00
Awesome Stickz
648374424f docs(general): fix code to work with v16 (#2503)
* docs(general): fix code to work with v16

* fix: deno fmt
2022-10-09 12:42:39 -05:00
TriForMine
52c2351412 Parse Gateway Identify and Resume Urls (#2502)
* parse gateway and resume Urls #2475

* fix params

* deno fmt

* convert version to string
2022-10-08 12:09:54 -05:00
Skillz4Killz
3154133663 fix: fmt 2022-10-08 03:40:42 +00:00
Skillz4Killz
52c83cc1fb fix: guild feature 2022-10-08 03:39:57 +00:00
Skillz4Killz
4c22c0e95a perf: Much faster features 2022-10-08 03:38:31 +00:00
Skillz4Killz
0051a95afd Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-10-08 03:38:00 +00:00
Skillz4Killz
a1fea34e06 Deno bench implementation idea 2022-10-08 03:37:56 +00:00
Awesome Stickz
b9766c6cb6 Update all templates' dd version, readme, added example env/config (#2500)
* Update bigbot template to v16, update readme, added .env.example for an example env

* Update minimal template to dd v16, update readme

* Update minimal template readme for consistency

* Update beginner template to v16, update readme

* Added config.json file, readme to nodejs template

* Fix kwik db stuff in beginner template

* deno fmt

* Update template readme

* Fix bigbot template raw event ignoring GUILD_CREATE instead of GUILD_LOADED_DD

* deno fmt

* fix deno fmt again

* Use .env file instead of config.json in nodejs template

* fix: kwik's version in beginner template

* Apply suggestions from code review

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

* Update template/README.md

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-10-07 16:41:11 -05:00
Skillz4Killz
eb4ab83537 fix: stupid fmt 2022-10-07 21:38:15 +00:00
Awesome Stickz
a7d6529fe8 docs(big-bot-guide): Updated to dd v16, fixed bugs, added missing code (#2501)
* docs(big-bot): Updated to dd v16, fixed bugs with it (cache), added missing code for events listener in bot part

* Add dd server link to big bot guide docs

* Fix: typo
2022-10-07 16:16:21 -05:00