Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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
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
870287674a feat(sern.ts): renaming Module.delegate to Module.execute 2022-02-14 12:34:13 -06:00
jacoobes
3d660fea71 Merge branch 'main' of https://github.com/EvolutionX-10/Sern 2022-02-14 09:21:13 -06:00
EvolutionX
a648f347f1 finished formatting 2022-02-14 13:18:14 +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
ab7c5e09ee lowercased preprocessors 2022-02-14 09:55:24 +05:30
EvolutionX
38b478a9fb lowercased Utilities 2022-02-14 09:50:16 +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
945e0dc228 Merge branch 'main' of https://github.com/jacoobes/Sern 2022-02-13 22:36:23 +03:00
xxDeveloper
9e19e2fc6d BetterCode 2022-02-13 22:35:21 +03:00
jacoobes
47ea143581 eslint fix and tableRam 2022-02-13 13:34:34 -06:00
xxDeveloper
d477ac08dd Merge branch 'main' of https://github.com/jacoobes/Sern 2022-02-13 22:15:54 +03:00
xxDeveloper
c07d87566a Improvements in Readme.md 2022-02-13 22:13:27 +03: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
fcaf992164 Fix bugs in sern.ts & improve 2022-02-12 22:52:45 +03:00
xxDeveloper
3b15b27803 Format & improve src files 2022-02-12 22:41:55 +03:00
jacoobes
ba8a77a247 inlining variables 2022-02-11 10:14:52 -06:00
jacoobes
f7435afef0 fixed bug, line 128 2022-02-11 10:08:55 -06:00
jacoobes
189efda9d2 add eslint rule, careful of null assertions 2022-02-11 09:04:35 -06:00
jacoobes
da7c4171d5 format and comment registerModules 2022-02-10 12:58:29 -06:00
jacoobes
198e17eca2 fmt 2022-02-10 11:30:24 -06:00
jacoobes
65954eef76 extra comments 2022-02-10 11:25:36 -06:00
jacoobes
92dc63abee remove ctxHandler class in favor of functions 2022-02-10 10:43:33 -06:00
jacoobes
35d6c27893 reloading of slash commands (not tested) 2022-02-10 10:40:37 -06:00
jacoobes
7ca83141d8 Sern.Module jsdoc 2022-02-10 08:52:46 -06:00
jacoobes
8e37d4d9a7 changing default generic for module 2022-02-10 08:46:28 -06:00
jacoobes
93a583acb2 some jsdoc 2022-02-09 22:33:29 -06:00
jacoobes
9e93d38f05 slashCommand refresh impl starting 2022-02-09 22:11:13 -06:00
jacoobes
418bc90854 test 2022-02-09 10:15:24 -06:00
jacoobes
c849877bf7 changed test-commands 2022-02-09 10:07:34 -06:00
jacoobes
6aa22e74b5 some progress 2022-02-09 00:29:59 -06:00
jacoobes
6813d7fc1f revamping visibility modifiers 2022-02-09 00:14:41 -06:00
jacoobes
585372b39c remove logger, i am overcomplicating it 2022-02-08 15:29:55 -06:00
jacoobes
b637cca708 some date parsing 2022-02-08 00:29:28 -06:00