Commit Graph

5354 Commits

Author SHA1 Message Date
Fleny
235334381c Add roblox connection (#3757) 2024-07-20 16:53:20 -05:00
Fleny
495c532d9f ci: Add token parameter to codecov action (#3759)
* Add token parameter to codecov action

* add secrets: inherit
2024-07-20 16:53:08 -05:00
dependabot[bot]
64cd9bde33 build(deps-dev): bump typedoc-plugin-markdown from 4.1.2 to 4.2.1 (#3750)
Bumps [typedoc-plugin-markdown](https://github.com/typedoc2md/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown) from 4.1.2 to 4.2.1.
- [Release notes](https://github.com/typedoc2md/typedoc-plugin-markdown/releases)
- [Changelog](https://github.com/typedoc2md/typedoc-plugin-markdown/blob/main/packages/typedoc-plugin-markdown/CHANGELOG.md)
- [Commits](https://github.com/typedoc2md/typedoc-plugin-markdown/commits/typedoc-plugin-markdown@4.2.1/packages/typedoc-plugin-markdown)

---
updated-dependencies:
- dependency-name: typedoc-plugin-markdown
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-20 16:52:44 -05:00
dependabot[bot]
4142946071 build(deps-dev): bump @biomejs/biome from 1.8.0 to 1.8.3 (#3748)
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.8.0 to 1.8.3.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.8.3/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-20 16:52:35 -05:00
Fleny
27fc12ec34 feat(cli)!: CLI generated types (#3453)
* Move transformers types to a single file

* Add script to test TS Compiler api capabilities
Remove nested objects where possible

* Use Partial<Role> and DiscordOverwrite instead of objects in AuditLogChange

* Fix typescript errors

* Remove interfaces.json

It is a generated file from the test script, not something that should be commited

* Start work on the test generation script
The TS version got bumped to 5.5.3

* Fix any type, use node16 module resolution

"node" is a deprecated alias for "node10", node16 is the recommended

Add code to check for type errors when getting the types from the interfaces

Fix errors when TS tries to find the files that the root tsconfig.json handles

* remove some useless compile options in TSApiTest

* Add jsdoc parsing
JSDoc tags with the next right after are not supported

* fix small format issue

* Fix ApplicationCommandPermissions todo

* Fix CI error

* Simplify parseDocumentation

* get type directly from the sourceFile

* remove hasUndefinedUnion as it is no longer used

* fix discordeno bin file name

* Update the yarn lockfile

* Merge scripts into one

* Use `@internal` instead of `@private` + `@deprecated`

* work on .d.ts files

* Process interface members once

* Move emit/preEmit diagnostics to a unit test

they can take quite a while, even 3-4 seconds, so running in the CLI every time does not seem ideal

* test: add build:types to test:unit dependencies

This is a test commit, it will provably get reversed. The scope is to see what CI does with this

* add find-up to deno import map

* add typescript to the deno import map

* Add node:assert to deno import map

* check for this.timeout that exists

deno does not have the timeout

* add build:type to deno-unit

* Temp hack to work-around the script deno tests

* Test with bun running the test as well

* fix turbo deps for unit tests

* remove test scripts

* Update CI to use build:type cache

* Apply code review suggestion

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

* Add code to modify the interface member

* use an actual config

The config source is still a dummy object for now

* Search and use discordeno.config.js file

* provide config from cli options

* Handle props in base objects
The dependencies of an object need to be declared/updated manually, it would be painful to fix this in such a way that would be something that Typescript can give us from the compiler API

* add some tests for desired proprieties

* also check for a .mjs config file

* Add support for .ts config files

We use the typescript compiler to emit an in-memory version of the config file, import it and then remove it. It does not do bundling so if the config imports local files it will not work. Also the file is not type-checked as it would slow down the config loading

* remove compiler host, use callback on program.emit

* fix deno ci error

* add node:fs/promises to deno import map

---------

Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2024-07-20 16:52:21 -05:00
dependabot[bot]
c3a004ee40 build(deps): bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group (#3747)
Bumps the npm_and_yarn group with 1 update: [braces](https://github.com/micromatch/braces).


Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

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>
2024-07-15 17:43:01 +02:00
dependabot[bot]
ea5f38a52c build(deps): bump @discordeno/rest in /docker-apps/rest-passthrough (#3752)
Bumps [@discordeno/rest](https://github.com/discordeno/discordeno) from 19.0.0-next.6762bd4 to 19.0.0-next.991609d.
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/commits)

---
updated-dependencies:
- dependency-name: "@discordeno/rest"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 17:36:14 +02:00
Fleny
ac1952f05b fix: tsconfig.json (#3734)
* Update tsconfig.json

* Remove allowJS
2024-07-14 12:59:55 -05:00
Fleny
991609d336 build(deps-dev): Update turbo to v2 (#3735)
* Update turbo to v2

Also some small config changes

* Remove test for the non-exiting "client" pkg

* Re-add build:type dependency to lint

* Add missing comma

* Use turbo in build:watch
2024-07-14 12:59:34 -05:00
Fleny
9e101a0320 fix: adapt biome formatting of package.json files to match the yarn one (#3745)
* Fix biome formatting of package.json files to match the yarn one

* Ignore package.json

This includes a format on the member toggles as that pr got merged while using ESLint formatting and it didn't get updated before merging
2024-07-14 12:59:19 -05:00
Fleny
87f62d2a4b fix(bot,types): guild members flags (#3617)
* Add flags field to ModifyGuildMember

Also add the GuildMemberFlags enum as that was missing

* Add flags to member object

* Fix type error

* Update member transformer

* Readd flags desired propriety

* Rename enum to MemberFlag for consitency

* Rename to GuildMemberFlags, use number not the enum itself

* Use ToggleBitfield for flags

* Add getters

* Fix build error

* Merge flags in toggles

* change flags getter to return the actual flags

And not our custom toggles values

* Fix reverse transformer
2024-07-13 13:12:02 -05:00
Fleny
ab6f632ca9 Update ModifyChannel interface (#3744) 2024-07-13 13:07:42 -05:00
Fleny
919474069d chore: Migrate ESLint and prettier to Biome (#3634)
* Migrate eslint and prettier to biomejs

This does NOT include examples/bigbot as it has its own formatter

* Update to biome 1.8.0

* Readd dotenv dev dependency to rest

During a merge it got lost
2024-07-13 13:05:02 -05:00
dependabot[bot]
7b3bd76c82 build(deps): bump @discordeno/rest in /docker-apps/rest-passthrough (#3732)
Bumps [@discordeno/rest](https://github.com/discordeno/discordeno) from 19.0.0-next.687c29d to 19.0.0-next.6762bd4.
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/commits)

---
updated-dependencies:
- dependency-name: "@discordeno/rest"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 08:53:07 -05:00
dependabot[bot]
af6ffc356d build(deps): bump commander from 12.0.0 to 12.1.0 (#3731)
Bumps [commander](https://github.com/tj/commander.js) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v12.0.0...v12.1.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 08:52:56 -05:00
dependabot[bot]
14d5e2ffb1 build(deps-dev): bump @swc/cli from 0.3.9 to 0.4.0 (#3729)
Bumps [@swc/cli](https://github.com/swc-project/pkgs) from 0.3.9 to 0.4.0.
- [Commits](https://github.com/swc-project/pkgs/commits)

---
updated-dependencies:
- dependency-name: "@swc/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 08:52:46 -05:00
dependabot[bot]
f9bdfce589 build(deps-dev): bump eslint-plugin-n from 16.6.2 to 17.9.0 (#3727)
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.6.2 to 17.9.0.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.6.2...v17.9.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-n
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 08:52:35 -05:00
Fleny
7836ec393f Add missing proprieties on channel (#3736) 2024-07-13 08:52:05 -05:00
dependabot[bot]
e30e5a2a6b build(deps-dev): bump prettier from 3.2.5 to 3.3.3 (#3743)
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.3.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.5...3.3.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 08:50:33 -05:00
dependabot[bot]
d1a91b9182 build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.16.0 (#3739)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 08:50:14 -05:00
Fleny
c7e0ccc87c always log close.code in debug, log close.code in info log (#3740) 2024-07-13 08:49:53 -05:00
Fleny
727c7104ed Rename channel.autoArchiveDuration to defaultAutoArchiveDuration (#3741) 2024-07-13 08:19:26 -05:00
Fleny
6cf16bdc6b fix(docker): Fix invalid snyk serif (#3737)
* Add code to prevent invalid snyk serif

* Prevent the fix for snyk to run on pr
2024-07-13 08:17:59 -05:00
Fleny
06664ed8bb fix(website): fix typedoc configuration (#3733)
* Fix typedoc CI crashse

And adapt the website to its new output

* Revert /tsconfig.json changes

* Update footer
2024-07-13 08:15:19 -05:00
dependabot[bot]
6762bd4476 build(deps-dev): bump sinon from 17.0.1 to 18.0.0 (#3721)
Bumps [sinon](https://github.com/sinonjs/sinon) from 17.0.1 to 18.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v17.0.1...v18.0.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 19:11:09 -05:00
Skillz4Killz
9ec197a9b3 Feat: resharding (#3014)
* feat: base work for reshardinf system

* fix: magic

* fix: y did i do this

* Fix typings for checkIfReshardingIsNeeded

* Update packages/gateway/src/manager.ts

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

* Update packages/gateway/src/manager.ts

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

* Update packages/gateway/src/manager.ts

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

* fix: checking info.firstShardId, lastShardId

* fix: checking pending shards against totalShards instead of total used shards

* fix: changing new shards' message event when trying to change old shards' message event, causing it to be unable to process those events

* ci can stop crying now

* chore: specify usaage of updateGuildsShardId

* move executing updateGuildsShardId from shard.events to shard.forwardToBot as none of those events are being executed

* remove todo

* fix: calculateTotalShards() for bots in over 100k servers that don't have LBS and update comments

* use logger.debug in updateGuildsShardId instead of logger.warn

* feat: automatic resharding

* move auto resharding into gateway.spawnShards() and clear interval on gateway.shutdown()

* fix: both old shards and new shards processing events at the same time

* Copy all shard events provided in the options to new shards instead of just the mesasge event

* Added clearReshardingInterval parameter to manager.shutdown function so reshard function doesn't end up clearing this interval

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
Co-authored-by: Fleny <fleny113@outlook.com>
Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2024-07-09 19:10:56 -05:00
dependabot[bot]
b68af86688 build(deps-dev): bump typescript from 5.4.5 to 5.5.3 (#3720)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:25:35 -05:00
dependabot[bot]
02512c9de4 build(deps-dev): bump @types/chai from 4.3.11 to 4.3.16 (#3722)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.11 to 4.3.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:24:48 -05:00
dependabot[bot]
55b03f3e2f build(deps-dev): bump typedoc from 0.25.11 to 0.26.3 (#3723)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.11 to 0.26.3.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.11...v0.26.3)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:24:29 -05:00
dependabot[bot]
53649f1fbc build(deps-dev): bump @types/node from 20.11.25 to 20.14.10 (#3724)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.25 to 20.14.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:24:08 -05:00
Fleny
3daf71a507 Use bigint for permission flags (#3726)
Also convert the enum to an object as typescript doesn't like bigint in an enum
2024-07-09 09:23:46 -05:00
dependabot[bot]
48fad1e0b3 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#3725)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.6.7 to 1.6.13.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.6.7...v1.6.13)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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>
2024-07-09 14:59:55 +02:00
Fleny
97a8016041 chore: Code changes & formatting and linting (#3552)
* Do some code changes & run prettier and eslint

* Fix test:test-type script

* Apply code review suggestions

* update heartbeat interval & add a reason for the specific value

* Fix husky error

* Update to TS 5.5

And use ${configDir}

* Fix test.json tsconfig base

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-07-08 15:11:41 -05:00
Fleny
2f89d4da30 Add partial guild to interaction (#3618)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-07-07 16:32:06 -05:00
Fleny
24ea6f8af8 fix(bot)!: Guild features type (#3719)
* Fix guild features type, remove useless features des prop

* Add missing guild features
2024-07-07 16:14:13 -05:00
Fleny
f479660642 Document blocking words in member profiles automod (#3642)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-07-07 22:16:22 +05:30
Fleny
749acbca60 Add the Guild Incident message types (#3646)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-07-07 21:46:43 +05:30
Fleny
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
Fleny
aecc55d150 fix(bot)!: Add guild.features to guild transformer (#3705)
* Add guild.features to guild transformer

* Use a getter on the toggles for features
2024-07-07 10:39:04 -05:00
Fleny
2def050845 feat(types)!: Add flags enums (#3717)
* Add flags enums

* Remove extra MessageFlags enum from `@discordeno/bot`

This is not a breaking in itself as `@discordeno/types` has this enum

* Fix CI error, remove usage of MessageFlags and SkuFlags

* Revert "remove usage of MessageFlags and SkuFlags"

This reverts part of commit 954b347ebb.

* fix ci error
2024-07-07 10:37:49 -05:00
Awesome Stickz
fce4ae01c3 docs: update big bot guide (#3718) 2024-07-07 10:36:16 -05:00
Fleny
49ce2e44df feat(bot,rest,types): Add burst (super reaction) informations on events & DiscordReactionType (#3615)
* Add GetReactions#type & DiscordReactionType

* Add burst and burstColors to reaction add/remove events

The reaction remove event only has burst, not burstColors

* Add type to message reaction add/remove

* Fix type error

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-07-07 10:26:35 -05:00
Fleny
b16e9b70a0 fix(types): Update max poll duration and defaults for creating a poll (#3694)
* Change the max duration of poll from 7 days to 32

* Update default values for poll creation (#3701)

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-07-07 10:25:56 -05:00
Fleny
b20e12ded4 feat(rest,types)!: User apps GA (#3696)
* User apps GA

* Apply code-review suggettions

Without some re-wording of the already confusing Discord usage of context/type term

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-07-07 20:42:02 +05:30
Fleny
48bc543e09 Add avatarDecorationData to guildMemberUpdate (#3679)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-07-07 00:56:16 -05:00
Fleny
a1af1ff910 Adds premium interaction (#3680)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-07-06 17:04:05 -05:00
Fleny
a2d8afb462 Document the position behavior for duplicate position values (#3690) 2024-07-06 16:30:19 -05:00
Fleny
9cea65f761 Add invite type (#3614) 2024-07-06 16:30:05 -05:00
Fleny
9cca689688 Add Attachment title (#3691) 2024-07-06 16:19:06 -05:00
Fleny
f57e2e962f Add guildId to guildStickersUpdate event (#3706) 2024-07-06 16:08:25 -05:00