Commit Graph

588 Commits

Author SHA1 Message Date
Jacob Nguyen
9cb25a585a ci: manual version override 2022-07-14 16:55:17 -05:00
Jacob Nguyen
17033254d4 ci: update release-please.yml 2022-07-14 16:44:01 -05:00
Jacob Nguyen
2f5e0fc772 ci: update release-please 2022-07-14 16:31:39 -05:00
Jacob Nguyen
a35ceb9531 ci: add release-please 2022-07-13 16:26:45 -05:00
renovate[bot]
fbbd79babc chore(deps): update actions/checkout action to v3 (#80)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com>
2022-07-11 13:10:34 +03:00
renovate[bot]
501745b7ea chore(deps): lock file maintenance (#81)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 13:08:35 +03:00
renovate[bot]
6ea84ac8cd chore(deps): update actions/setup-node action to v3 (#79)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 13:08:09 +03:00
xxDeveloper
76c4333a81 fix: Fixed renovate warning (#77) 2022-07-08 21:34:51 +03:00
xxDeveloper
ac459593a0 chore: Updated code of conduct (#78)
chore: Updated the name on code of conduct
2022-07-06 20:24:31 +03:00
renovate[bot]
c5dac42da0 chore(deps): update github/codeql-action action to v2 (#76)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-05 19:18:22 +03:00
renovate[bot]
ef2200c257 chore(deps): lock file maintenance (#75)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-05 14:42:48 +03:00
renovate[bot]
fcb5f6747c chore(deps): update all non-major dependencies to v5.30.5 (#74)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com>
2022-07-05 14:39:41 +03:00
renovate[bot]
dd75650a46 chore(deps): pin dependency standard-version to 9.5.0 (#73)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-05 14:36:50 +03:00
xxDeveloper
4872590b28 ci: Added dependency-reviewer (#70) 2022-07-05 12:36:25 +03:00
renovate[bot]
cc127bd040 chore(deps): update all non-major dependencies (#72)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-02 11:27:48 -05:00
Evo
9dd82a3cfb chore: re-add renovate.json (#71) 2022-07-02 01:52:18 -05:00
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
xxDeveloper
7c97fa9461 chore: Added PR template 🎉 (#67) 2022-06-30 08:45:06 +05:30
xxDeveloper
ef22aca5ff chore: Added issue template for bugs 🎉 (#66)
* chore: 🎉 Added issue template

* chore: Added DiscordJS version

* chore: Added config.yml
2022-06-29 21:06:35 +03: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
e677ce0839 fix: Change discord server link (#62) 2022-06-20 21:18:56 +03:00
xxDeveloper
371f9d711a chore: Removed @Murtatrxx from CODEOWNERS (#61) 2022-06-19 19:02:02 -05:00
Jacob Nguyen
a5320dddb9 docs: Highly encourage to use cli 2022-06-02 15:29:44 -05:00
Jacob Nguyen
92b83c8d32 Update README.md 2022-06-02 15:28:40 -05:00
Jacob Nguyen
3ea72259e4 build: version 1.0.1-beta 2022-06-01 11:50:12 -05:00
Jacob Nguyen
083b0609bd build: fix vulnerability and upgrade to latest dev version of discord.js 2022-06-01 11:48:32 -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 988d7fa6d2.

* 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 988d7fa6d2.

* 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
f90342d6b1 feat: add docs/ to npmignore 2022-05-29 15:01:35 -05:00
Jacob Nguyen
cfd68b4388 refactor: remove unnecessary nullish short circuit 2022-05-29 14:39:37 -05:00
Jacob Nguyen
ae59acadcc refactor: remove unnecessary nullish short circuit 2022-05-29 14:38:05 -05:00
Jacob Nguyen
99e2a997ed feat: adding better typings, refactoring 2022-05-29 14:30:28 -05:00
Jacob Nguyen
475b0736d5 feat: adding refactoring for repetitive event plugin processing 2022-05-28 20:29:23 -05:00
Jacob Nguyen
e69dae92cd refactor: cleaning up code, removing unuseds 2022-05-27 15:06:24 -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
9eef9dd318 refactor: Simplifying logic of message filter 2022-05-25 15:49:55 -05:00
Jacob Nguyen
d63423cfc4 feat: finishing autocomplete!! 2022-05-25 15:29:28 -05:00
Jacob Nguyen
b08eebf685 feat: finishing optionData for autocomplete changes, adding class for builder 2022-05-24 14:44:07 -05:00
Jacob Nguyen
93942bd0e7 feat: move name and description out of OptionsData[] 2022-05-23 20:55:02 -05:00
Jacob Nguyen
ac8a2f4c86 feat: Making name required in auto cmp interactions 2022-05-23 00:54:40 -05:00
Jacob Nguyen
d50b8013ee feat: Finishing up autocomplete, need to test 2022-05-22 18:54:20 -05:00
Jacob Nguyen
77856ce5d0 feat: adding modal and autocomplete support 2022-05-22 02:08:24 -05:00
Jacob Nguyen
26756077ef style: change prettier print width and reformat 2022-05-21 23:58:52 -05:00
Jacob Nguyen
a2209494bd feat: remove comments about prev commit 2022-05-21 23:54:46 -05:00
Jacob Nguyen
fc81bfc6d7 feat: add externallyUsed.ts and support BothCommands again 2022-05-21 23:54:27 -05:00
Jacob Nguyen
7ae5ecf1a6 feat: add .prettierignore and ignore README.md 2022-05-19 23:31:36 -05:00
Jacob Nguyen
d5bb9922df fix: prettier changes again 2022-05-19 23:16:33 -05:00
Jacob Nguyen
571a8044b0 fix: prettier wants lf line ending 2022-05-19 23:14:05 -05:00
Jacob Nguyen
dac665d628 fix: linting issue in markup.ts 2022-05-19 23:08:38 -05:00