Commit Graph

128 Commits

Author SHA1 Message Date
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
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
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
EvolutionX
92c3bacd15 chore: removed Nullable type 2022-02-19 20:11:28 +05:30
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
0e795e63dd Merge branch 'main' of https://github.com/jacoobes/Sern 2022-02-16 22:57:53 +03:00
xxDeveloper
dad3042a64 feat: Improved TypeScript experince 2022-02-16 22:57:40 +03:00
jacoobes
29943366a7 style(higherorders.ts): change name of parameter fn -> fns and f -> g 2022-02-15 20:36:35 -06:00
jacoobes
7166947d28 fix(sern.ts): checking ctx instanceof Message always returned false 2022-02-15 20:23:35 -06:00
jacoobes
a2e43f518b refactor(sern.ts): interaction is guaranteed non null, i used null assertion 2022-02-15 18:23:52 -06:00
jacoobes
420c4dfe64 refactor(sern.ts): noticed a check for undefined already occuring, removed redundant recheck 2022-02-15 17:53:53 -06:00
jacoobes
2e3c65ad09 docs(higherorder.ts): ran linter and add documentation to AllTrue 2022-02-15 17:36:52 -06:00
jacoobes
803840c84b refactor(sern.ts): unifying the function signature for command n interactionResult to enable HoFs 2022-02-15 17:32:56 -06:00
jacoobes
0f0b0fb61c feat(handler): adding higher-order-function wrappers to increase readability and shorten code
Experimenting with functional paradigm to hopefully reduce redundancy and try improving readability,
shorten code, and create a cleaner code base
2022-02-15 16:09:42 -06:00
xxDeveloper
779011a124 feat: Added SECURITY file & formatted some TypeScript code 2022-02-15 19:37:16 +03:00
jacoobes
9b5942babf refactor(logger.ts): saw a double template literal for no apparent reason 2022-02-14 23:03:55 -06: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
jacoobes
870287674a feat(sern.ts): renaming Module.delegate to Module.execute 2022-02-14 12:34:13 -06:00
EvolutionX
a47f6a1159 added jsdocs 2022-02-14 22:10:08 +05:30
EvolutionX
16e3adf0c9 Merge branch 'jacoobes:main' into docs 2022-02-14 21:59:44 +05:30
jacoobes
38963ffa19 rf 2022-02-14 09:21:32 -06:00
jacoobes
3d660fea71 Merge branch 'main' of https://github.com/EvolutionX-10/Sern 2022-02-14 09:21:13 -06:00
EvolutionX
99daca5fa6 added docs for functions in messageHelpers 2022-02-14 13:42:20 +05:30
EvolutionX
a648f347f1 finished formatting 2022-02-14 13:18:14 +05:30
EvolutionX
5102563869 added preprocessors 2022-02-14 13:09:35 +05:30
jacoobes
5c2701fba7 fix eslint-caught semis 2022-02-13 22:39:51 -06:00
jacoobes
d5ad51d0e9 eslint require semis! 2022-02-13 22:37:38 -06:00
EvolutionX
ff0694f072 Merge branch 'main' of https://github.com/EvolutionX-10/Sern 2022-02-14 09:55:41 +05:30
EvolutionX
ab7c5e09ee lowercased preprocessors 2022-02-14 09:55:24 +05:30
EvolutionX
69a8baf201 Delete src/handler/utilities/Preprocessors directory 2022-02-14 09:55:15 +05:30
EvolutionX
9193ede266 will it work 2022-02-14 09:53:40 +05:30
EvolutionX
252df8b990 hmm 2022-02-14 09:52:22 +05:30
EvolutionX
1c679bd341 Delete src/handler/Utilities directory 2022-02-14 09:51:51 +05:30
EvolutionX
38b478a9fb lowercased Utilities 2022-02-14 09:50:16 +05:30
EvolutionX
57392f4e6a made the code pretty :) 2022-02-14 09:43:38 +05:30
EvolutionX
7545e33fa4 Merge branch 'main' of https://github.com/EvolutionX-10/Sern 2022-02-14 09:40:41 +05:30
EvolutionX
c15e3ab86e Matched the case of Utilities
caused import error
2022-02-14 09:38:48 +05:30
jacoobes
34e09bbbb5 console.clear, modularize name -> map 2022-02-13 22:04:10 -06:00
jacoobes
ce22f854a1 some comments and comment refactoring 2022-02-13 14:16:10 -06:00
xxDeveloper
c3d29f7016 Added table for memory usage 2022-02-13 22:49:26 +03:00