Commit Graph

687 Commits

Author SHA1 Message Date
Jacob Nguyen
5a1870be73 feat : refactor command objects. Deciding not to use a class 2022-03-13 23:05:53 -05:00
Jacob Nguyen
586d386afb refactor(command.ts) properties no longer look as ugly 2022-03-13 01:53:23 -06:00
Jacob Nguyen
5b968ce442 feat(handler) create command-options interface, remove module 2022-03-13 01:37:24 -06:00
Jacob Nguyen
840619d7c5 feat(command.ts) throw error on alias present on slash command 2022-03-12 00:56:24 -06:00
Jacob Nguyen
ecf7ecc92c feat(handler) finish loading command functionality, adjust properties
per cmd type
2022-03-11 17:31:44 -06:00
Jacob Nguyen
f1ffff48c8 feat(command.ts) Add command class 2022-03-11 15:07:43 -06:00
Jacob Nguyen
30b7f59d4f feat(module.ts) Removing and minimizing module. Will allow simplication
of revamping
2022-03-11 12:34:53 -06:00
Jacob Nguyen
0513391189 build(logger.ts) Remove day.js dependency in favor of native 2022-03-11 11:29:35 -06:00
Jacob Nguyen
cdd8fced24 refactor(sern.ts) Slowly change handler class to init function 2022-03-11 11:25:34 -06:00
Jacob Nguyen
6d2af4728c feat(handler) Filters only executable messages now 2022-03-11 10:39:30 -06:00
Jacob Nguyen
10aee77315 feat(handler) begin message event and wrapper.prefix =
wrapper.defaultPrefix
2022-03-11 00:43:55 -06:00
Jacob Nguyen
df626e0864 feat(events) Moving default events to its own folder for organization 2022-03-09 14:25:20 -06:00
Jacob Nguyen
08f593792e feat(handler) new ready event handling
Also added new enum errors,
removed useless promise fn sign,
and more
2022-03-09 00:44:29 -06:00
Jacob Nguyen
9ce1314133 docs(wrapper.ts) Add events property to JSDoc 2022-03-08 18:14:42 -06: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
cfb7df8451 feat(sern.ts) attempting to remove the bloated class in favor of smaller
functions, install rxjs
2022-03-08 11:43:38 -06:00
Jacob Nguyen
ff2427f876 perf(sern.ts) remove return await 2022-03-08 00:48:07 -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
707840bc76 feat(context.ts) Adding context class and getters and setters 2022-03-04 00:48:11 -06:00
Jacob Nguyen
3b8a7f3cbc feat(markup.ts) add arcs changes 2022-03-03 22:44:16 -06:00
Jacob Nguyen
e4a88ff306 feat(markup.ts) merge higharcs changes 2022-03-03 22:16:16 -06:00
Jacob Nguyen
9e17a80ca2 style(markup.ts): formatted a little for readability 2022-03-02 09:47:40 -06:00
Jacob Nguyen
15d8a6a794 refactor(utilities): made markup.ts eslint compliant and added formatting to logger 2022-03-01 23:05:25 -06:00
Arcy
9bef8b332c Merge pull request #15 from rqft/main
Create markup.ts
2022-02-22 00:42:40 -03:00
Arcy
3a4e286381 Create markup.ts 2022-02-21 21:39:19 -06:00
jacoobes
00a5fa43ad feat(sern.ts): adding logging instead of large complaining messages from bot 2022-02-21 17:07:08 -06:00
jacoobes
40fb723143 feat(sern.ts): changed how module is passed around, now has name property at runtime 2022-02-21 02:00:12 -06:00
jacoobes
ef9d53e6b1 feat(sern.ts): beginning to add new basic logger system 2022-02-21 01:58:25 -06:00
jacoobes
d17f999d69 style(sern.ts): minimized code, refactor style 2022-02-21 00:51:00 -06:00
jacoobes
1cff46c0ab fix(utilexports.ts): forgot to remove the deleted feat of option builder 2022-02-21 00:44:52 -06:00
jacoobes
81921937b5 refactor: removed options builder as it is redundant 2022-02-21 00:41:34 -06:00
Jacob Nguyen
15ab87aac5 refactor(handler): exported the option builder v0.0.1 2022-02-20 10:48:45 -06:00
xxDeveloper
408d1e31e3 docs: Updated README links 2022-02-20 16:19:12 +03:00
Jacob Nguyen
eaf06581fb Merge branch 'main' of https://github.com/sern-handler/Sern 2022-02-19 13:34:50 -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
Jacob Nguyen
e0541f777b feat(sern.ts): changing default value of args in text based cmd to string[], from string 2022-02-19 13:23:58 -06:00
Jacob Nguyen
b11f999674 feat(sern.ts): changing text-based command parser fn value to string[]
Keeping the type of args for fn parse as a string[] should allow users more flexibility
2022-02-19 13:21:44 -06:00
Jacob Nguyen
b19a41ddf0 style(src): ran eslint through project 2022-02-19 13:16:29 -06:00
Jacob Nguyen
c8bf7aeb92 refactor(options.ts): move options type declarations to types folder 2022-02-19 13:14:54 -06:00
Jacob Nguyen
651009c9ed feat(higherorders.ts): a new function that acts as a command options builder 2022-02-19 13:12:42 -06:00
Jacob Nguyen
dc30f0288c Merge branch 'main' of https://github.com/sern-handler/Sern 2022-02-19 09:55:20 -06:00
Jacob Nguyen
348f707ecd Merge pull request #14 from sern-handler/EvolutionX-10-patch-1 2022-02-19 08:46:04 -06:00
EvolutionX
92c3bacd15 chore: removed Nullable type 2022-02-19 20:11:28 +05:30
Jacob Nguyen
664afea478 Merge pull request #13 from sern-handler/EvolutionX-10-patch-1 2022-02-19 08:39:07 -06:00
EvolutionX
f6b85d8763 chore: add back @Townsy45's credits 2022-02-19 20:03:40 +05:30
EvolutionX
f4b6642b73 chores: add back cursorsdottsx credits 2022-02-19 20:01:10 +05:30
xxDeveloper
94141e7048 docs: updated pronounce ('me' => 'us') 2022-02-19 16:08:07 +03:00
xxDeveloper
fa622f67e6 docs: Updated README TODO 2022-02-19 15:41:35 +03:00