mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
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>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# RabbitMQ
|
||||
|
||||
This template has been tested using RabbitMQ v3.12.14 (Erlang v26.2.5)
|
||||
|
||||
## Plugins
|
||||
|
||||
The template needs the [rabbitmq_message_deduplication](https://github.com/noxdafox/rabbitmq-message-deduplication) plugin.
|
||||
|
||||
This template has been tested with version v0.6.2 of said plugin. The `.ez` files are already in the `message-deduplication` folder, but you can re-download them from the original repository if needed.
|
||||
|
||||
To enable the plugin you will need to run the following command:
|
||||
|
||||
```sh
|
||||
rabbitmq-plugins enable rabbitmq_message_deduplication
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> You may need to prefix the command with `sudo` based on your RabbitMQ setup/current shell permissions
|
||||
@@ -0,0 +1,2 @@
|
||||
# RabbitMQ plugins are stored in a zip format (.ez files), just for security we tell git to always threat them as binary files
|
||||
* binary
|
||||
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user