18 Commits
Author SHA1 Message Date
TTtie e5c36970d4 docs: add is_spoiler, waveform, and duration_secs to attachment upload structure (#252)
Ref:
https://github.com/discord/discord-api-docs/commit/bea2305a9094163f59ac7cf86c4c1f3bd05f73d2
2026-07-15 02:28:21 +00:00
TTtie f9bdfd061e feat: add new attachment/component fields (#243)
Ref:
https://github.com/discord/discord-api-docs/commit/06c6560196692af7fe808c582bfd34c60a8b4ea1
2026-04-23 18:54:51 +02:00
Snazzah 252263388a feat: allow file uploads in modals (#224)
Ref: https://github.com/discord/discord-api-docs/commit/c20b256919547f3bc5cbdd6fabcba6422007e8cb
2025-10-16 23:04:53 +00:00
TTtie 14fedd2c2b feat: allow passing more things in modals (#221)
Ref:
https://github.com/discord/discord-api-docs/commit/6058b2e2d09c4eece2a0c4c9d988f7a44d799394
2025-09-13 22:46:34 +00:00
TTtie a0aa3a4c9d feat: support user-installable apps (#129)
Ref:
https://github.com/discord/discord-api-docs/commit/72197509c5bd7db4a3377419885b3fed98506d4c
Ref:
https://github.com/discord/discord-api-docs/commit/fc56b3d618259a326607d52de00c47e6fd1112b7
Ref:
https://github.com/discord/discord-api-docs/commit/1eaa1af5677712957479c9959132003b79396e24
Ref:
https://github.com/discord/discord-api-docs/commit/43170f8867ad0398dc00eeaf47093bda8ce85940
Ref:
https://github.com/discord/discord-api-docs/commit/092098f553b0aa4bc8f148966684b335b6dc0f2f
Ref: https://github.com/discord/discord-api-docs/commit/f7393bd4
Ref: https://github.com/discord/discord-api-docs/commit/29c34ce6
2024-10-27 19:56:31 +00:00
TTtie 67c679ffec feat: support with_response on interaction callbacks (#167)
The typings might need to be changed, but they should be OK.

Ref:
https://github.com/discord/discord-api-docs/commit/8bc883cb09135521fda2ae2a123c5d3ae791b605
2024-10-26 00:40:27 +00:00
TTtie 36e005b042 feat: support entry point commands (#162)
hope I updated all the types where they were supposed to be

Ref:
https://github.com/discord/discord-api-docs/commit/8bc883cb09135521fda2ae2a123c5d3ae791b605
2024-10-13 22:20:03 +00:00
TTtie 4610478630 feat: premium app subscriptions (#114)
Probably alright to the degree that I could test (I don't have access to monetization features).

Ref:
https://github.com/discord/discord-api-docs/commit/b97fad33bf2ff7633df32c1a8a206b53aa9fe568
Ref:
https://github.com/discord/discord-api-docs/commit/70b03d19adb320ae8b1dce15b9226628a50579fd
Ref:
https://github.com/discord/discord-api-docs/commit/b8feadd75e782537545c715fbd71ab4048132363
Ref: https://github.com/discord/discord-api-docs/pull/6502
Ref: https://github.com/discord/discord-api-docs/pull/6548
Ref:
https://github.com/discord/discord-api-docs/commit/f0d1615432dada83e34c37972b3d1661735caf59
2024-08-28 01:09:48 +00:00
TTtie dc3129e2a4 refactor: switch to ESLint flat config, add JSDoc linting (#147)
This commit switches Dysnomia over to ESLint flat config for
futureproofing and better maintainability. For the most part, the
codebase will pass the test suite, apart from a few exceptions
introduced by the stylistic plugin which I believe are reasonable to
include.

Additionally, JSDoc linting was added to maintain proper 
alignment of various features.
2024-08-02 18:56:44 +00:00
TTtie b8f1f61fbe feat: support polls (#139)
For the time being, poll results are only cached when the poll tally is finalized. If there's a need for caching interim results, please, send a PR.

* feat: support polls

Ref: https://github.com/discord/discord-api-docs/commit/df7d3652

* feat(Shard): add basic poll WS event processing

* types: add basic poll typings

* lint: sort methods correctly

* fix!: PollTypes -> PollLayoutTypes

* types: add typings for poll objects

* lint

* fix(types): poll create object doesn't have an answer_id in answers

* fix(types): remove invalid `after` option from `GetPollAnswerVotersOptions`

* fix(types): wait, this is actually here twice, for whatever reason

* fix(types): fix-up merge

* fix(types/docs): answerID is not a string

* fix(docs/types): also use Number for answerID in getPollAnswerVoters

* refactor!: put answerID before user in poll vote events
2024-07-19 14:14:57 +00:00
TTtie 528695abf6 docs: convert inline @prop to actual class members (#113)
this should introduce proper jsdoc inheritance and make it slightly more convertible
also unifies the cases when the docs would be written directly on the class field

* stage 0.5: move all props (almost) everywhere to their own blocks

* convert a couple more structures

* remove stray Guild import

* convert SharedStream, VoiceConnection

* convert Message structure
2023-09-28 20:43:18 +00:00
TTtie c86512225f refactor(interactions): use the new channel field (#63)
* refactor(interactions): use the new `channel` field

Ref: https://github.com/discord/discord-api-docs/commit/88a761816b26d6891f8a276683bf57a4133aa233

* use a better type for PossiblyUncachedInteractionChannel
2023-04-11 07:37:46 +00:00
TTtie d5e653dc83 refactor(interactions): clean up properties (#62)
* refactor(interactions): clean up properties

Removes segments of code from derived interaction classes that execute the same code as the base Interaction class, effectively making the fields being set twice (once in the Interaction class and then in the derived class

* lint: remove Permission imports
2023-04-08 15:12:30 +00:00
TTtie 500cfd5fb0 refactor: bump the minimum node version to 18.x.x (#46)
Let's hope nothing breaks...
2023-04-01 12:23:03 +00:00
TTtie 8340a40144 chore: set version to 0.2.0-dev, remove deprecated APIs (#40)
* chore: set package.json version to 0.2.0-dev

* chore: remove deprecated APIs
2023-03-06 14:44:40 +00:00
TTtie 9aadd153c8 chore: normalize embeds (#36)
Settled down on using the `embeds` array instead of `embed` – `embed` will no longer be accepted.
2023-03-01 21:01:32 +00:00
TTtie 44562550cb feat: modern file uploading (#5) 2022-10-23 11:21:54 +00:00
Donovan Daniels 47d88dba91 feat(interactions): Support Modals (PR 1404) 2022-09-16 13:51:56 +00:00