mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
feat(*)!: improve quality of code, refactorings, QOL intellisense (#64)
* feat: remove unit testing * feat: make command modules return Awaitable void | unknown * feat: more clear error for access message or interaction * feat: make TextCommand and SlashCommand return more specific arg type * feat: make TextCommand and SlashCommand return more specific arg type * fix: Remove type reduction to never in onReady.ts * feat: narrow typings for args Text and SlashCommand x3 * feat: make description optional, default is '...' * feat: add sern events natively register in sern.init * feat: remove jest.config.ts * fix: forget to add SernEvent to Wrapper declaration * feat: Make name and description defined when making plugins! * Update README.md * docs: Highly encourage to use cli * chore: Improved package.json * feat: Add .edit method and let .reply accept string * fix: intellij warnings * build: update discord.js to latest * chore(deps): Removed typedoc Removed typedoc dependency due we won't use it anymore * fix: Fixed typo at SECURITY.md file * feat: remove edit context method for future * feat: remove docs folder * feat: loading strategy slightly changed, does not throw error on finding no module in file * feat: change typings of sern emitter * feat: add generic to readFile.ts buildData, adding different event loading strategies * feat: add events.ts for more customizable event handling * refactor: type changes to adjust to event commands * feat: revamp module types to support event plugins * feat: rolling out more event loading support * style: Improved plugin.ts comments * style: Improved plugin.ts comments * style: Improved readyEvent.ts comments * feat: more support for event loading!! * fix: re add import after rebase * feat: more event handling progress * feat: Cleaning up types * refactor: Cleaning up and adding docs * feat: Changing types of wrapper for external and sern emitter * refactor: Adding some type aliases * feat: switch to match expression, add docs * feat: more progress on event handling * fix: complying to djs v14 build * feat: Add basic event handling, no plugins checked yet! * fix: Crash on interactionCreate event * build(package.json): bump version * build: bump to 1.0.4-beta * feat: move new things to top level import * feat: Separating events from command modules, leads separation of responsibility * feat: add enum for event modules * feat: Add more typings for event modules * feat: Add more plugin definitions * refactor: add asyncResolveArray.ts to resolve Awaitables easier * feat: throw error on plugin usage for event listeners * feat: throw error on plugin usage for event listeners * feat: change from client -> wrapper * style: eslint * style: add comment * feat: add absPath into commandPlugins! * build: remove 'tests' exclude * build: delete test.yml, change .prettierignore * build: bump version to 1.1.0-beta * docs(sern.ts): add comments for addExternal * fix: forgot to add required type property in comment * fix: load external event emitters correctly * chore: rebased api update branch (#65) Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com> Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com> Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
README.md
|
||||
.github/
|
||||
*.md
|
||||
Reference in New Issue
Block a user