Commit Graph
153 Commits
Author SHA1 Message Date
mmacierzanka df26e12cc8 BaseCommand major changes
Changed a lot of properties, splitted start method into separate methods
2021-09-05 03:00:28 +02:00
mmacierzanka 95d538d5a1 changed interface and classes code appearance 2021-09-05 01:52:33 +02:00
mmacierzanka 976bd15c70 updated errors to accept any type of command 2021-09-04 23:46:30 +02:00
mmacierzanka 535e59c7ea added start method protection 2021-09-04 21:13:52 +02:00
mmacierzanka d898ddc81d MessageCommand 2021-09-04 19:17:51 +02:00
mmacierzanka e7ce848325 TextCommand as an extension of BaseCommand 2021-09-04 18:53:32 +02:00
mmacierzanka 108bfb38d3 Command -> TextCommand 2021-09-04 18:36:57 +02:00
mmacierzanka 996c3733a0 BaseCommand structure 2021-09-04 18:32:38 +02:00
mmacierzanka 3ff3086e3e changed folder structure 2021-09-04 18:12:45 +02:00
mmacierzanka d12657e075 removed old subcommand sc 2021-09-04 15:19:40 +02:00
mmacierzanka 5b08cb3fc6 changed toCommandObject method 2021-09-04 01:25:56 +02:00
mmacierzanka 3e089acf60 SubCommand barebones 2021-09-03 17:52:39 +02:00
mmacierzanka f3c58f79ca added app state management 2021-09-02 23:04:47 +02:00
mmacierzanka c92cdf875c fixed list prop 2021-09-02 22:52:51 +02:00
mmacierzanka 3dbc715897 replaced getList with accessor 2021-09-02 22:45:42 +02:00
mmacierzanka 50be804169 created dedicated directory for types 2021-09-02 21:26:32 +02:00
mmacierzanka 7701e5e4fd annotated class methods 2021-09-02 21:03:52 +02:00
mmacierzanka 69b91f82f3 fixed compiler "unknown" type error 2021-09-02 20:44:40 +02:00
mmacierzanka e0c5ea3820 Restricted access to CommandManager's list
added getList() method instead of list property, added object freezing when bot is starting up
2021-08-31 20:23:14 +02:00
mmacierzanka 6bf657c3d2 Revert "restricted access to CommandManager's list"
This reverts commit 00753477de.
2021-08-31 19:59:52 +02:00
mmacierzanka 00753477de restricted access to CommandManager's list 2021-08-31 19:53:55 +02:00
mmacierzanka 40eb4b35da tweaked to only freeze the list 2021-08-31 18:47:57 +02:00
mmacierzanka 6c687d5a2e improving safety - freezing command object 2021-08-31 18:40:35 +02:00
mmacierzanka 4473e7f404 improved code safety by adding readonly keywords 2021-08-31 18:21:52 +02:00
mmacierzanka 6489edb253 JSDoc 2021-08-31 01:17:58 +02:00
mmacierzanka 6edbfbdb88 tweaked prefix and parameterseparator in JSDoc 2021-08-30 20:33:13 +02:00
mmacierzanka c7a9628734 added (a lot) more exports and flexibility 2021-08-30 20:23:25 +02:00
mmacierzanka f71ea8cfa4 added server-specific help messages 2021-08-30 01:59:06 +02:00
mmacierzanka 5af76c04ae fixed JSDoc parameterSeparator 2021-08-30 01:54:18 +02:00
mmacierzanka 1699174df9 Info messages displayDetails and separated deleteTimeout 2021-08-30 01:53:55 +02:00
mmacierzanka 868a88f4af added the ability to hide help message from help list 2021-08-29 17:42:19 +02:00
mmacierzanka 8f11fae0c4 Fixed an error with registering guild slash commands 2021-08-29 17:20:03 +02:00
mmacierzanka d567f5843f removed auto logging + fixed the issue where ERROR event was firing on command success 2021-08-29 16:46:28 +02:00
mmacierzanka 95abc9dc92 added reply check to command default return actions 2021-08-29 00:48:58 +02:00
mmacierzanka 2537261e80 added parameter type choice error 2021-08-27 14:32:14 +02:00
mmacierzanka a8efeae9cc separated registering process to a new method 2021-08-27 14:31:50 +02:00
mmacierzanka 796e27f54c changed argumentSeparator to parameterSeparator 2021-08-26 14:51:37 +02:00
mmacierzanka 77f503381b more code safety on register 2021-08-26 14:39:10 +02:00
mmacierzanka a6aa9d2c2b added guild and slash command error + more code safety 2021-08-26 02:32:47 +02:00
mmacierzanka 06bd5a7316 Simplified choices 2021-08-25 17:58:29 +02:00
mmacierzanka 64e15ba3c2 added JSDoc comments to methods that were not commented 2021-08-21 16:26:47 +02:00
mmacierzanka a1ffd7c9d9 Custom permission function 2021-08-21 16:11:35 +02:00
mmacierzanka f57c3b3f86 Reformatted source files (print width: 180) 2021-08-20 21:31:15 +02:00
mmacierzanka bfa26ba4cf all intents declared by default 2021-08-11 17:32:05 +02:00
mmacierzanka 8ac97cab53 choices now visible in the help message (if available) 2021-08-10 03:19:17 +02:00
mmacierzanka 45b0589468 fixed undefined prefix message on startup (rc3) 2021-08-10 03:14:58 +02:00
mmacierzanka 7c99ce833f added deleteReply 2021-08-10 03:09:17 +02:00
mmacierzanka 4c7e295f12 Success announcment (system message) 2021-08-10 03:01:51 +02:00
mmacierzanka 9e78438d0a added the option to disable message command (prefix) 2021-08-10 02:44:08 +02:00
mmacierzanka 0a9cdb7bde CommandBot 3.0.0-rc1 - choice and boolean processing from messages 2021-08-09 20:12:02 +02:00