Commit Graph
3 Commits
Author SHA1 Message Date
dependabot[bot]andFleny 513cf51387 build(deps): bump the example-deps group across 5 directories with 11 updates (#5313)
* build(deps): bump the example-deps group across 5 directories with 11 updates

Bumps the example-deps group with 5 updates in the /examples/advanced directory:

| Package | From | To |
| --- | --- | --- |
| [@discordeno/bot](https://github.com/discordeno/discordeno) | `20.0.0` | `21.0.0` |
| [dd-cache-proxy](https://github.com/AwesomeStickz/dd-cache-proxy) | `2.5.0` | `2.9.0` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |

Bumps the example-deps group with 6 updates in the /examples/beginner directory:

| Package | From | To |
| --- | --- | --- |
| [@discordeno/bot](https://github.com/discordeno/discordeno) | `20.0.0` | `21.0.0` |
| [dd-cache-proxy](https://github.com/AwesomeStickz/dd-cache-proxy) | `2.5.0` | `2.9.0` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |
| [chalk](https://github.com/chalk/chalk) | `5.3.0` | `6.0.0` |

Bumps the example-deps group with 9 updates in the /examples/bigbot directory:

| Package | From | To |
| --- | --- | --- |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.7` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.10.2` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.7.2` | `7.0.2` |
| [chalk](https://github.com/chalk/chalk) | `5.4.1` | `6.0.0` |
| [@fastify/multipart](https://github.com/fastify/fastify-multipart) | `9.0.3` | `10.1.0` |
| [amqplib](https://github.com/amqp-node/amqplib) | `0.10.5` | `2.0.1` |
| [fastify](https://github.com/fastify/fastify) | `5.8.5` | `5.11.3` |
| [@types/amqplib](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/amqplib) | `0.10.6` | `0.10.8` |
| [chokidar](https://github.com/paulmillr/chokidar) | `3.6.0` | `5.0.0` |

Bumps the example-deps group with 5 updates in the /examples/minimal directory:

| Package | From | To |
| --- | --- | --- |
| [@discordeno/bot](https://github.com/discordeno/discordeno) | `20.0.0` | `21.0.0` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |
| [chalk](https://github.com/chalk/chalk) | `5.3.0` | `6.0.0` |

Bumps the example-deps group with 4 updates in the /examples/reaction-roles directory: [@discordeno/bot](https://github.com/discordeno/discordeno), [dotenv](https://github.com/motdotla/dotenv), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [typescript](https://github.com/microsoft/TypeScript).


Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dd-cache-proxy` from 2.5.0 to 2.9.0
- [Release notes](https://github.com/AwesomeStickz/dd-cache-proxy/releases)
- [Commits](https://github.com/AwesomeStickz/dd-cache-proxy/compare/v2.5.0...v2.9.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

Updates `@types/node` from 22.9.0 to 26.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dd-cache-proxy` from 2.5.0 to 2.9.0
- [Release notes](https://github.com/AwesomeStickz/dd-cache-proxy/releases)
- [Commits](https://github.com/AwesomeStickz/dd-cache-proxy/compare/v2.5.0...v2.9.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

Updates `@types/node` from 22.9.0 to 26.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `chalk` from 5.3.0 to 6.0.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v5.3.0...v6.0.0)

Updates `dotenv` from 16.4.7 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

Updates `@types/node` from 22.10.2 to 26.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `typescript` from 5.7.2 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `chalk` from 5.4.1 to 6.0.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v5.3.0...v6.0.0)

Updates `@fastify/multipart` from 9.0.3 to 10.1.0
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v9.0.3...v10.1.0)

Updates `amqplib` from 0.10.5 to 2.0.1
- [Release notes](https://github.com/amqp-node/amqplib/releases)
- [Changelog](https://github.com/amqp-node/amqplib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amqp-node/amqplib/compare/v0.10.5...v2.0.1)

Updates `fastify` from 5.8.5 to 5.11.3
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.8.5...v5.11.3)

Updates `@types/amqplib` from 0.10.6 to 0.10.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/amqplib)

Updates `chokidar` from 3.6.0 to 5.0.0
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.6.0...5.0.0)

Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

Updates `@types/node` from 22.9.0 to 26.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `chalk` from 5.3.0 to 6.0.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v5.3.0...v6.0.0)

Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

Updates `@types/node` from 22.9.0 to 26.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dd-cache-proxy
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dd-cache-proxy
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: chalk
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: chalk
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@fastify/multipart"
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: amqplib
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: fastify
  dependency-version: 5.11.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: "@types/amqplib"
  dependency-version: 0.10.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: example-deps
- dependency-name: chokidar
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: chalk
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
...

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

* Update tsconfigs and fixup examples to compile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <fleny113@outlook.com>
2026-08-14 15:42:06 +02:00
Fleny 039c1945cc Use tsc to build instead of swc (#4128) 2025-02-12 19:23:28 +01:00
FlenyandLTS20050703 769d50ff93 feat(examples): Migrate example bots to discordeno v19 (#3647)
* Migrate beginner and minimal bot to discordeno v19

* Add .swcrc and fix minimal yarn.lock

* update .gitignore files

* Update nodejs template

Discordeno.js (DD v13) -> DD v19 "raw"

Currently the permission checking is not working correctly

* Fix permission issue

* Rename the templates

* remove unused indents

* Rename starter to beginner

So now it is minimal (main branch) -> beginner

* Really small refactor & eslint fixes (bigbot template)

This is to make my life less miserable at a later time

* mark rabbitMQ plugins as binary files

git seems to be treating them as text

* Add v19 bigbot rest

* Add gateway code

and rabbitmq_message_deduplication v0.6.2 plugin

* fix yarn messy semevr version for @types/amqplib

* clear channel con amqp connection close

* Add bot code for bigbot v19

missing prisma setup, collector setup & language setup

* Add localization

The "command versioning" system works the same say as before, but instead of a command version the code updates the commands every time they change based on the SHA1 of the commands

* Use file relative paths instead of cwd relative paths

* Fix todos

* revert autocomplete tests

* Revert "Add localization"

This reverts commit 2b1da8d2cd.

* move env assertion to config.ts

* Add shard ping to /ping

* fix small issue

* Update readme files

* use Date.now() for the bigbot REST ping

* Remove bigbot v16 code

* Add docker (compose) setup to bigbot template

* remove healthchecks from rest & gateway

* Update dependencies of examples

* Apply readme(s) suggestions from code review

Hopefully i haven't missed any related to markdown files

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

* Apply code suggestions from code review

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

---------

Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2024-07-07 10:40:43 -05:00