Commit Graph

46 Commits

Author SHA1 Message Date
Jacob Nguyen
df2e178394 refactor: Adding some type aliases 2022-06-19 18:06:44 -05:00
Jacob Nguyen
f020af7062 feat: Cleaning up types 2022-06-17 22:25:19 -05:00
Jacob Nguyen
24cd260531 feat: more support for event loading!! 2022-06-16 20:11:58 -05:00
Jacob Nguyen
6be1eea20a feat: Add .edit method and let .reply accept string 2022-06-08 13:46:13 -05:00
Jacob Nguyen
231ae24065 feat: Make name and description defined when making plugins! 2022-06-08 11:31:16 -05:00
Jacob Nguyen
5fbd3a6d68 feat: add sern events natively register in sern.init 2022-06-06 00:51:09 -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
Jacob Nguyen
475b0736d5 feat: adding refactoring for repetitive event plugin processing 2022-05-28 20:29:23 -05:00
Jacob Nguyen
0ae541daba feat: Adding docs to some data structures, moving to default from export files 2022-05-25 17:17:55 -05:00
Jacob Nguyen
d63423cfc4 feat: finishing autocomplete!! 2022-05-25 15:29:28 -05:00
Jacob Nguyen
6c144defca fix: didn't run prettier, now i am 2022-05-19 23:03:39 -05:00
Jacob Nguyen
2d28800953 style: Run prettier 2022-05-19 22:54:46 -05:00
Jacob Nguyen
b8cda351e1 feat: should be able to register other nodejs event emitters 2022-05-19 12:57:14 -05:00
Jacob Nguyen
5556b2aa0a refactor: make ApplicationCommandOptions optional 2022-05-17 16:14:47 -05:00
Jacob Nguyen
430315ad02 feat: Aliases optional 2022-05-17 13:16:27 -05:00
Jacob Nguyen
c8c0c841db feat: Add DefinetlyDefined type, more todo statements 2022-05-17 12:11:00 -05:00
Jacob Nguyen
bcbfd28788 refactor: Cleaning up more, moving things for organization 2022-05-15 19:31:30 -05:00
jacoobes
3dedba3493 chore: prettier reformat 2022-05-13 14:45:06 -05:00
Jacob Nguyen
490d6403d7 refactor : change naming conventions to PascalCase 2022-04-08 13:10:46 -05:00
Jacob Nguyen
ef8e3961d1 feat(handler) run formatter and made message prefixes case insensitive 2022-04-03 17:13:13 -05:00
Jacob Nguyen
ea8c15986a feat(handler) Add context more context methods and nullish type 2022-04-03 01:37:38 -05:00
Jacob Nguyen
b0d4f96900 feat : add typings for ctx menus 2022-03-26 02:34:36 -05:00
Jacob Nguyen
5baff09c03 feat(types) added util type Override 2022-03-21 17:27:53 -05:00
Jacob Nguyen
05fadf0e33 feat : remove parse option, allowing user to custom parse arguments 2022-03-21 17:25:21 -05:00
Jacob Nguyen
2ea35588bd feat (handler) more progress on message handler 2022-03-16 23:18:55 -05:00
Jacob Nguyen
5b53d4203e feat : update module loader for extensibility 2022-03-16 14:41:22 -05:00
Jacob Nguyen
0dd95be59a feat(sern.ts) Add basic event manager 2022-03-08 16:36:51 -06:00
Jacob Nguyen
84fc853dd6 refactor(handler) change init param to Wrapper, add eventConfig type 2022-03-08 13:02:42 -06:00
Jacob Nguyen
9e4adf8bcf refactor(structures) create structures dir 2022-03-08 00:30:18 -06:00
Jacob Nguyen
36831def0f chore(module.ts) Move Command Modules to different file, change context objs to class counterparts 2022-03-07 23:49:38 -06:00
Jacob Nguyen
1397974fb6 feat(sern.ts): changing default value of args in text based cmd to string[], from string 2022-02-19 13:34:30 -06:00
EvolutionX
92c3bacd15 chore: removed Nullable type 2022-02-19 20:11:28 +05:30
EvolutionX
f4b6642b73 chores: add back cursorsdottsx credits 2022-02-19 20:01:10 +05:30
xxDeveloper
dad3042a64 feat: Improved TypeScript experince 2022-02-16 22:57:40 +03:00
jacoobes
f062a33868 fix(handler.ts): added the changes of Module<T>.execute to type delegate (now type execute) 2022-02-14 13:12:39 -06:00
EvolutionX
a648f347f1 finished formatting 2022-02-14 13:18:14 +05:30
EvolutionX
57392f4e6a made the code pretty :) 2022-02-14 09:43:38 +05:30
jacoobes
ce22f854a1 some comments and comment refactoring 2022-02-13 14:16:10 -06:00
jacoobes
ad86658e11 dir name fix, lowercase lint 2022-02-13 13:12:14 -06:00
xxDeveloper
8a71f11353 Merge branch 'main' of https://github.com/jacoobes/Sern 2022-02-13 21:37:12 +03:00
xxDeveloper
350c070b43 Rnamed some directories & format code 2022-02-13 21:35:56 +03:00
jacoobes
dfb34b99e3 testing cmds now have module prop, not on filename 2022-02-13 01:17:33 -06:00
xxDeveloper
3b15b27803 Format & improve src files 2022-02-12 22:41:55 +03:00
xxDeveloper
d2e4ca63a7 Update handler.ts 2022-02-12 08:52:29 +03:00
jacoobes
09bf5a1bfe added default logger 2022-02-07 23:55:16 -06:00
jacoobes
b328edb7ce change handler types file extension 2022-02-07 01:14:20 -06:00