7 Commits
Author SHA1 Message Date
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 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 f417daf94b refactor(Channel): make the client private (#58)
Makes Channel#client a private property. Brace for impact, this might introduce regressions.
2023-09-23 21:06:04 +00:00
TTtie aed90232e4 refactor: don't call update() multiple times in the prototype chain (#91)
The update() method is already called in the base class - according to JS class semantics, when calling a constructor via `super`, `this` still points to the object at the top of the prototype chain, resulting in the update() method being called twice or more down the prototype chain as the super-classes initialize.
2023-07-27 22:56:27 +00:00
TTtie 97efd000c7 fix(PrivateThreadChannel): properly propagate updates (#53) 2023-03-18 21:40:21 +00:00
Donovan Daniels 91d29f9157 refactor: Overall Consistency Fixes & Minor Feature Additions (PR 1379) 2022-10-06 20:15:34 +00:00
3fe4d216ca Support Discord API v9 (#1279)
Co-authored-by: Donovan Daniels <hewwo@yiff.rocks>
Co-authored-by: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Co-authored-by: Lava <service.github@lava.moe>
Co-authored-by: abalabahaha <hi@abal.moe>
2021-11-13 23:06:57 -08:00