Commit Graph
354 Commits
Author SHA1 Message Date
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
mmacierzanka 5579dd2092 sub commands class structure 2021-09-10 21:05:19 +02:00
mmacierzanka fdf3560b05 CommandManager add method now returns a given object 2021-09-10 19:39:14 +02:00
mmacierzanka f13d526f4a fixed security issue with guild checking 4.0.0-alpha2 2021-09-09 23:17:01 +02:00
mmacierzanka a96aa36e47 4.0.0-alpha2 2021-09-09 22:59:12 +02:00
mmacierzanka 8a95d97482 simplified and added new methods 2021-09-09 22:58:53 +02:00
mmacierzanka 97ab3bd608 updated Bot class to be compatible with CommandManager 2021-09-09 22:13:45 +02:00
mmacierzanka fb2e8d1950 added api methods to CommandManager 2021-09-09 22:07:30 +02:00
mmacierzanka 03c9bcf49b removed APIManager 2021-09-09 19:31:12 +02:00
mmacierzanka 14875857b0 APIManager 2021-09-09 19:04:42 +02:00
mmacierzanka 41d7b6db52 Added version to RegisteredCommandObject 2021-09-09 17:13:07 +02:00