Jacob Nguyen
fe1b7e4e84
feat: constfn util
2022-09-09 02:02:03 -05:00
Jacob Nguyen
1b830d492d
feat: add addDependencies
2022-09-09 02:00:44 -05:00
Jacob Nguyen
59a956fd0d
feat: strengthening contracts
2022-08-31 01:23:16 -05:00
Jacob Nguyen
8183e95a96
feat: refactor ScopedPlugin typing
2022-08-29 12:15:02 -05:00
Jacob Nguyen
355865968a
feat: starting from scratch, add new typings
2022-08-29 01:17:26 -05:00
Jacob Nguyen
aca8ae2b13
feat: more merge conflicts
2022-08-28 23:29:05 -05:00
Jacob Nguyen
3f6ce51548
Merge remote-tracking branch 'origin/feat_of_module-manager' into feat_of_module-manager
...
# Conflicts:
# package-lock.json
# package.json
# src/handler/events/observableHandling.ts
# src/types/handler.ts
2022-08-28 22:14:05 -05:00
Jacob Nguyen
8c12576f0e
chore: saving for later
2022-08-28 22:11:30 -05:00
Jacob Nguyen
a40c7efa19
revert: delete files
2022-08-28 22:11:30 -05:00
Jacob Nguyen
e2471d32cf
feat: solidifying contract
2022-08-28 22:11:27 -05:00
Jacob Nguyen
f993e3fd66
feat: adding ModuleConfiguration helper fn and default module manager
2022-08-28 22:11:08 -05:00
Jacob Nguyen
9b51fc0c56
chore: fixing up and cleaning code
2022-08-28 22:11:07 -05:00
Jacob Nguyen
651f4aa35c
feat: getting global plugins some typings and adding contracts
2022-08-28 22:11:07 -05:00
Jacob Nguyen
2f10b0e6d2
feat: moving modules to its own contained class
2022-08-28 22:11:07 -05:00
Jacob Nguyen
a0ab4152d1
revert: remove unneeded type predicates
2022-08-28 22:11:07 -05:00
Jacob Nguyen
3b0b94b35a
revert: port back to original interaction type checkers
2022-08-28 22:11:07 -05:00
Jacob Nguyen
23edd5b193
revert: port back to original interaction type checkers
2022-08-28 22:11:07 -05:00
Jacob Nguyen
b0e5512686
feat: update location of module typings
2022-08-28 22:11:05 -05:00
Jacob Nguyen
fd9dc35ff0
feat: removing unused types
2022-08-28 22:09:29 -05:00
Jacob Nguyen
813ba0922e
feat: prototyping module manager
2022-08-28 22:08:32 -05:00
Jacob Nguyen
395549c173
feat: add proper error handling ( #115 )
2022-08-29 08:09:52 +05:30
github-actions[bot]
ff5c161469
stlye: pretty please ( #124 )
...
Co-authored-by: EvolutionX-10 <EvolutionX-10@users.noreply.github.com >
2022-08-29 07:12:33 +05:30
Jacob Nguyen
0c2f1b513b
chore: saving for later
2022-08-28 12:10:55 -05:00
Jacob Nguyen
e85eb81f8b
revert: delete files
2022-08-26 00:07:14 -05:00
Jacob Nguyen
a4301dc283
feat: solidifying contract
2022-08-26 00:07:05 -05:00
Jacob Nguyen
3c0da263b2
feat: adding ModuleConfiguration helper fn and default module manager
2022-08-26 00:06:16 -05:00
Jacob Nguyen
8c6fb27989
chore: fixing up and cleaning code
2022-08-26 00:05:22 -05:00
Jacob Nguyen
2830370025
feat: getting global plugins some typings and adding contracts
2022-08-25 00:17:27 -05:00
Jacob Nguyen
4092b9be52
feat: moving modules to its own contained class
2022-08-22 19:50:44 -05:00
Jacob Nguyen
c98425da14
revert: remove unneeded type predicates
2022-08-22 19:45:30 -05:00
Jacob Nguyen
6565697b0c
revert: port back to original interaction type checkers
2022-08-22 19:44:53 -05:00
Jacob Nguyen
b94a9e932d
revert: port back to original interaction type checkers
2022-08-22 19:44:30 -05:00
Jacob Nguyen
7162ccb928
feat: update location of module typings
2022-08-21 23:11:31 -05:00
Jacob Nguyen
2b6335fba1
feat: removing unused types
2022-08-21 22:46:58 -05:00
Jacob Nguyen
8626add53e
feat: prototyping module manager
2022-08-20 22:57:24 -05:00
Jacob Nguyen
4323be47d7
style: prettier line feed changes
2022-08-19 01:24:53 -05:00
Jacob Nguyen
3dec347ef0
feat: remove externallyUsed.ts
2022-08-14 12:53:16 -05:00
Jacob Nguyen
74378f0f12
feat: shrink package size, improve dev deps, esm and cjs support ( #98 )
...
* chore: fix tsc predicate type checking
* build: add tsup as bundler
* chore: revert text
* chore: fix predicates.ts, update dependencies, bump version
* docs: update example
* build: update dependencies
* fix: crash on collectors (#89 )
* fix: crash on collectors
* feat: bump version for bug fix
* fix: crash on collectors pt
* docs: adding some documentation for docasaurus
* docs: add errors.ts comments
* docs: refactor comments
* docs: adding examples
* feat: refresh package-lock.json
* refactor: destructure and clean namespaces
* feat: add regen package.json script
* feat: add tsup, remove tsc, add scripts
* feat: update ts-results import style
* feat: readd typescript because idk if i should
* feat: breakup tsconfigs and add tsup config
* feat: add esm json tsconfig to git
* build: update dependencies and move to ts-result-es
* feat: remove unused function
* feat: update ts-results for esm/cjs interop!
* revert: remove version.txt
* build: goodbye tsc, hello tsup
* build: moving discord.js as dev dependency
* style: requested changes
* feat: add tsc back ( i missed you )
* build: bump version -> 1.0.0
* feat: syncing to main
* style: pretty
* feat: fix tsconfig issues with tsup
* revert: remove ExternallyUsed
* feat: update scripts
* build: update tsup and pkg-lock.json
* feat: refresh package-lock.json
* feat: test
2022-08-06 15:51:19 -05:00
Jacob Nguyen
70d7bdb8c5
fix: autocomplete in nested form ( #97 )
...
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com >
2022-08-03 00:21:31 +05:30
Jacob Nguyen
7da7bff700
fix: crash on collectors pt
2022-07-20 14:36:32 -05:00
Jacob Nguyen
a0587f59d4
fix: crash on collectors ( #89 )
...
* fix: crash on collectors
* feat: bump version for bug fix
2022-07-20 14:00:49 -05:00
Jacob Nguyen
d96681bfb5
chore: fix predicates.ts, update dependencies, bump version
2022-07-18 12:21:23 -05:00
Jacob Nguyen
d1b034b826
chore: revert text
2022-07-18 12:18:12 -05:00
Jacob Nguyen
07e6dabce1
bug(observableHandling.ts): fix https://github.com/sern-handler/handler/issues/86
2022-07-16 15:37:43 -05:00
Jacob Nguyen
17eb816ec9
refactor(events): use of classes for scalability & maintainability ( #83 )
...
Co-authored-by: EvolutionX-10 <evolutionx9777@gmail.com >
2022-07-16 23:38:11 +05:30
Evo
9340cf229c
refactor(*): use enums for payloadtype & fix type warns ( #69 )
...
* refactor(*): use enums and fix type warns
* style: pretty pretty prettier
2022-06-30 00:55:54 -05:00
Jacob Nguyen
e71b63d261
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 >
2022-06-28 12:38:01 -05:00
Jacob Nguyen
c8e322cb5f
build: add npm ignore files, remove markup.ts
2022-05-31 11:41:46 -05:00
Jacob Nguyen
48737efea3
feat: remove copyright bloat
2022-05-30 12:58:41 -05:00
xxDeveloper
163e48f3eb
feat(*): Revamp Docs ( #47 )
...
* style: Formatted 17 files & changes messageHelper util
* style: Formatted HTML and CSS files
* Revert "style: Formatted 17 files & changes messageHelper util"
This reverts commit 988d7fa6d2f07fadd05d1fc5a42c26d4767b0b44.
* style(style.css): Formatted main style file with tabwidth 2
* chore: Added docs maintainer
* chore: Changed typedoc configration
* chore(README.md): Removed coming soon from links
* chore: Updated Prettier formatter tab width
* docs(readme): Improved Readme readability
* docs(README): Fixed installation box
* style(README.md): Improved readability
* chore: Added CONTRIBUTING.md
* docs(README.md): Removed old repo link and it's line
* docs(README): Updated Intents to djs v14
Co-authored-by: EvolutionX <85353424+EvolutionX-10@users.noreply.github.com >
* docs: Updated README example to djs v14
* docs: Formatted README examples
* Update README.md
* docs: Updated organization description
* docs(README): Rename 'fixed' to 'patched'
* chore: Updated LICENSE
* chore: Updated LICNESE
* chore: Changed license to MIT
* Delete LICENSE.md
* chore: Recreated LICENSE
* chore: First License boilerplate preview
* style(index.ts): Added a space
* chore(index.ts): First license boilerplate preview
* chore(PRETTIER): Re-updated the tab width
* chore(SECURITY): Updated security.md file
* docs(README): Improved readability
* fix(README): Fixed typo
* style: Updated license boilerplate
* style(*): Updated license boilerplate
* style: Updated license boilerplate
* style: Updated license boilerplate
* style: Updated license boilerplate
* style: Updated License boilerplate
* style: Updated License boilerplate
* docs(README): Added stats
* docs(README): Temporarily or permanently removed stats
* refactor: DRY Principles
* feat: finished interactionCreate.ts handling? (need test)
* chore: Updated CONTRIBUTING.md file
* chore: Updated credits
* chore(NPM): Prepared package.json for release
* revert: Some changes
* revert: Revert back to MIT LICENSE (#50 )
* chore: Updated LICENSE boilerplate
* style: Improved comments
* style: Updated comments
* fix: Non-exhaustiveness led to commands not registering readyEvent.ts
* feat: Add DefinetlyDefined type, more todo statements
* feat: Aliases optional
* feat: Optional plugins to reduce bloat
* feat: better looking typings for modules
* refactor: Simplify sernModule handler signature
* refactor: make ApplicationCommandOptions optional
* refactor: make description optional
* refactor: Bring CommandType and PluginType to top level
* fix: Fix return type of sernModule
* refactor: Why is that not assignable bruh
* revert: Re-add plugins overload
* fix(CODE_OF_CONDUCT): Removed unusual dot
* Update package.json
* fix: Resolve conflicts
* fix: Resolve conflicts
* feat: should be able to register other nodejs event emitters
* fix: Standard for of does not resolve promises. Switched to for await
* feat: Adding sern event listeners, overriding and typing methods
* feat: Edited event names for more conciseness, finished basic event emitters
* style: Run prettier
* fix: didn't run prettier, now i am
* fix: linting issue in markup.ts
* fix: prettier wants lf line ending
* fix: prettier changes again
* feat: add .prettierignore and ignore README.md
* feat: add externallyUsed.ts and support BothCommands again
* feat: remove comments about prev commit
* style: change prettier print width and reformat
* feat: adding modal and autocomplete support
* feat: Finishing up autocomplete, need to test
* feat: Making name required in auto cmp interactions
* feat: move name and description out of OptionsData[]
* feat: finishing optionData for autocomplete changes, adding class for builder
* feat: finishing autocomplete!!
* refactor: Simplifying logic of message filter
* feat: Adding docs to some data structures, moving to default from export files
* refactor: cleaning up code, removing unuseds
* feat: adding refactoring for repetitive event plugin processing
* feat: adding better typings, refactoring
* refactor: remove unnecessary nullish short circuit
* refactor: remove unnecessary nullish short circuit
* feat: add docs/ to npmignore
* style: Formatted 17 files & changes messageHelper util
* style: Formatted HTML and CSS files
* Revert "style: Formatted 17 files & changes messageHelper util"
This reverts commit 988d7fa6d2f07fadd05d1fc5a42c26d4767b0b44.
* style(style.css): Formatted main style file with tabwidth 2
* chore: Added docs maintainer
* chore: Changed typedoc configration
* chore(README.md): Removed coming soon from links
* docs(readme): Improved Readme readability
* chore: Added CONTRIBUTING.md
* docs(README): Fixed installation box
* style(README.md): Improved readability
* docs(README.md): Removed old repo link and it's line
* docs: Updated README example to djs v14
* docs(README): Updated Intents to djs v14
Co-authored-by: EvolutionX <85353424+EvolutionX-10@users.noreply.github.com >
* docs: Formatted README examples
* Update README.md
* chore: Updated LICENSE
* chore: Updated LICNESE
* chore: Changed license to MIT
* Delete LICENSE.md
* chore: Recreated LICENSE
* chore: First License boilerplate preview
* style(index.ts): Added a space
* chore(index.ts): First license boilerplate preview
* chore(SECURITY): Updated security.md file
* style: Updated license boilerplate
* docs(README): Added stats
* chore: Updated CONTRIBUTING.md file
* chore: Updated credits
* chore(NPM): Prepared package.json for release
* revert: Some changes
* revert: Revert back to MIT LICENSE (#50 )
* fix(CODE_OF_CONDUCT): Removed unusual dot
* fix: Resolve conflicts
* fix: Resolve conflicts
Co-authored-by: EvolutionX <85353424+EvolutionX-10@users.noreply.github.com >
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com >
2022-05-30 20:54:23 +03:00