Commit Graph

5354 Commits

Author SHA1 Message Date
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
LTS20050703
a0f130db50 BREAKING: Rename getWebhooks to getGuildWebhooks (#2465)
* rename getWebhooks to getGuildWebhooks
move getChannelWebhooks from `helpers/channels` to `helpers/webhooks`

* helpers/webhooks: getWebhook -> getGuildWebhooks

* tests: fix webhook test

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-10-07 16:08:36 -05:00
TriForMine
1da3ffa6d2 [Unit Tests] Utils: Collection (#2499)
* add collection unit test

* Update tests/utils.test.ts

* Update tests/utils.test.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-10-07 16:08:20 -05:00
Skillz4Killz
22f0e97c0f Update test.yml 2022-10-07 16:04:36 -05:00
Awesome Stickz
8be759f30e Fix BigBot Template (#2498)
* fix: bigbot template

* Apply suggestions from code review

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-10-03 15:27:22 -05:00
Skillz4Killz
5cb8388f91 fix: get gateway test 2022-10-03 19:48:33 +00:00
Skillz4Killz
3404c7880a fix: get sticker test 2022-10-03 19:32:27 +00:00
Skillz4Killz
a3f79c4b5d fix: remove todo 2022-10-03 19:31:09 +00:00
Skillz4Killz
e823021670 fix: remove parallel until deno fixes their shitty logs 2022-10-03 19:24:16 +00:00
Skillz4Killz
1fedbe61c2 fix: i hate u stupid piece of argggggg. fmt urself automatically for once in ur stupid life 2022-10-03 19:18:00 +00:00
Skillz4Killz
2829b1d064 fix: stickers tests 2022-10-03 19:15:55 +00:00
LTS20050703
e7b3a1fff9 tests: fix stickers test (#2497)
* tests: fix stickers test

* tests: fix stickers size must be 320x320

* deno fmt

* Update README.md

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-10-02 12:24:43 -04:00
Skillz4Killz
05e2d6cbe1 Update test.yml 2022-10-02 12:19:22 -04:00
Skillz4Killz
c7c1d86338 fix: remove emojis from readme 2022-10-01 18:14:30 +00:00
Skillz4Killz
b4576851cf fix: disable sticker tests 2022-10-01 18:08:50 +00:00
LTS20050703
39a806ff9c fix: errors (#2496)
* fix: errors

* fix: err can be undefined

* tests: fix sticker tests

* fix: create channel require name

* fix: sticker helpers and tests

* tests: delete channel after tested guild stickers
2022-10-01 12:14:59 -04:00
Yaikava
e410da016e 🐛 - fix: bot.helpers.editFollowUpMessage - id conversion (#2495) 2022-09-30 17:08:08 -05:00
ITOH
8fa7e89e8c fix(helpers): edit interaction responses & webhook messages does not update files (#2483)
Closes: #2482

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-09-30 08:41:09 -05:00
LTS20050703
357376b954 BREAKING(types): add animated banner to guild features (#2489)
* types/shared: add animated banner to guild features

* tranformers/toggles: getter for guild features
2022-09-30 08:31:20 -05:00
凱恩Kane
f38373e0fb fix(transformers): transform required field for InputText (#2494)
* transform required field for InputText

* missing TextInput type
2022-09-30 08:29:14 -05:00