Commit Graph
464 Commits
Author SHA1 Message Date
mmacierzanka 9c8893818f changed scope parameter to be optional 2021-09-14 17:38:07 +02:00
mmacierzanka 65b97c9656 changed get return type 2021-09-14 17:31:42 +02:00
mmacierzanka 0cd392d4e5 fixed errors related to commit a4d79e6 2021-09-14 17:28:44 +02:00
mmacierzanka a4d79e6ff9 changed method logic and parameters 2021-09-14 17:24:52 +02:00
mmacierzanka 47b715471b added djs error handler 2021-09-14 17:16:49 +02:00
mmacierzanka ccaabf061e added prefixes accessor to get full list of guild prefixes 2021-09-14 17:12:24 +02:00
mmacierzanka 5e2efa31aa changed noDefault to noGlobal to better match the context 2021-09-14 14:49:42 +02:00
mmacierzanka 491c9782cc changed logic for set method 2021-09-14 14:42:33 +02:00
mmacierzanka 8c89b3e387 added minimum length 2021-09-14 14:23:37 +02:00
mmacierzanka 0735e9a146 fixed bad logic in get method 2021-09-14 14:23:24 +02:00
mmacierzanka a27eaaefd3 added guild prefixes 2021-09-14 14:13:14 +02:00
mmacierzanka f37178716e beta1.1 - added more main exports 2021-09-14 00:11:48 +02:00
mmacierzanka cedf4984f9 beta1 package 4.0.0-beta1 2021-09-13 19:32:31 +02:00
mmacierzanka 274ea43c3e added prefix displaying 2021-09-12 18:49:12 +02:00
mmacierzanka 85e6236a5f sending a message 2021-09-12 18:47:24 +02:00
mmacierzanka 7395027d79 fixed isNestedCommand method 2021-09-12 18:45:45 +02:00
mmacierzanka c33ae91c8f changed CommandManager to accept base subcommands 2021-09-12 18:38:31 +02:00
mmacierzanka 8ff7359f98 added separators to nested command message 2021-09-12 18:35:31 +02:00
mmacierzanka 1f3878e7b9 changed main exports to exclude command classes 2021-09-12 18:30:21 +02:00
mmacierzanka b6899c80ce changed HelpMessage registering method 2021-09-12 18:28:26 +02:00
mmacierzanka 2c4a779e42 MAJOR CHANGE - new registering method and _manager property
_manager property on BaseCommand, new types, new methods to add a command
2021-09-12 18:23:26 +02:00
mmacierzanka 68c484813c added subcommand support for messages 2021-09-12 17:10:44 +02:00
mmacierzanka 12de407e6f fixed listApi fetch method 2021-09-12 16:01:18 +02:00
mmacierzanka 26df341d1f fixed errors in Message handler 2021-09-12 03:18:39 +02:00
mmacierzanka 2246a98f5d working implementation of subcommands 2021-09-12 02:21:03 +02:00
mmacierzanka b9d0bde79c fetchSubcommand method 2021-09-12 02:20:38 +02:00
mmacierzanka c8ad647553 added getSubcommand method 2021-09-12 01:28:36 +02:00
mmacierzanka beeff8d233 added overlap for excluding NestedCommand objects (get) 2021-09-12 01:06:47 +02:00
mmacierzanka bc01141f4e added catching to prevent crashes when replying fails 2021-09-12 00:07:31 +02:00
mmacierzanka d3e4607440 fixed all issues related to NestedCommand registering
I hope so...
2021-09-11 23:58:39 +02:00
mmacierzanka 654b6b837d updated is...Command methods in BaseCommand
to be more accurate
2021-09-11 23:40:00 +02:00
mmacierzanka 3cc388e5e1 updated CommandManager to properly add NestedCommands
previous commit didn't fix the issue
2021-09-11 23:38:37 +02:00
mmacierzanka 30d52c5c6e updated CommandManager to register NestedCommand objects
fixed a bug with registering global context menu commands
2021-09-11 23:14:39 +02:00
mmacierzanka bdc297d318 added isNestedCommand method 2021-09-11 23:09:33 +02:00
mmacierzanka 219d27b5f1 fixed importing errors caused by vscode being sh*t 2021-09-11 23:00:25 +02:00
mmacierzanka c876e455cc changed type handling in NestedCommand 2021-09-11 22:54:21 +02:00
mmacierzanka 55479e8710 fixed CommandManager return type... again 2021-09-11 22:50:41 +02:00
mmacierzanka 4d79bc200d fixed add method on CommandManager 2021-09-11 22:48:03 +02:00
mmacierzanka 3039e233ee added nested command to main exports 2021-09-11 22:44:42 +02:00
mmacierzanka 1ec54d23d2 fixed broken imports 2021-09-11 22:41:14 +02:00
mmacierzanka ea52fe58dc added toObject methods and connected everything together 2021-09-11 22:40:40 +02:00
mmacierzanka 32b40ad802 updated to match new API objects 2021-09-11 22:37:59 +02:00
mmacierzanka 7d0adc8d69 added types for nested commands and fixed a typo 2021-09-11 22:37:21 +02:00
mmacierzanka d7b5573598 added message with select menu...
accessor for children and append method
2021-09-11 20:03:38 +02:00
mmacierzanka 313794026e added getter for children and append method 2021-09-11 20:03:00 +02:00
mmacierzanka 0867328232 added checking to prevent registering subcommands incorrectly 2021-09-11 19:16:42 +02:00
mmacierzanka 1b020e269a streamlined error messages for regexp checking 2021-09-11 01:44:35 +02:00
mmacierzanka 6d49c40185 removed processPhrase method in favor of regexp checking 2021-09-11 01:37:28 +02:00
mmacierzanka 22e8b4ad3c changed all command classes to use CommandRegExps object 2021-09-10 22:36:23 +02:00
mmacierzanka 7e9bd8030d added all regular expressions to CommandRegExps object 2021-09-10 22:28:54 +02:00