Commit Graph
327 Commits
Author SHA1 Message Date
mmacierzanka 611cd22a5c almost completly removed ts dynamic typing 2021-09-08 20:07:46 +02:00
mmacierzanka fd2b6537de added list method and separated complicated types 2021-09-08 19:33:08 +02:00
mmacierzanka 07de442c01 added method templates 2021-09-08 19:22:33 +02:00
mmacierzanka 037a4a5999 added prefix and argumentSeparator to CommandManager 2021-09-08 19:07:16 +02:00
mmacierzanka f705c6c896 divided types directory to multiple subfolders 2021-09-08 18:55:15 +02:00
mmacierzanka 7c128a9614 new CommandManager 2021-09-08 18:43:56 +02:00
mmacierzanka 383965c3d6 changed folder structure 2021-09-08 17:32:45 +02:00
mmacierzanka 10cbfdddf7 changed CommandInteraction to Interaction 2021-09-08 00:10:51 +02:00
mmacierzanka 722f355d9b created TargetID 2021-09-07 20:49:35 +02:00
mmacierzanka 1e2966dfa9 fixed not found message not firing and added some minor changes 2021-09-07 20:30:51 +02:00
mmacierzanka 3004787cf0 Bot event procedure rework and import fixes
Known issues: throwing an error causes the bot to crash, context menu interaction doesn't seem to actually work
2021-09-07 20:05:32 +02:00
mmacierzanka 191e213dcf fixed index.ts and removed unused import 2021-09-07 19:15:37 +02:00
mmacierzanka 2d9d0dbd66 MessageCommandManager 2021-09-07 19:13:21 +02:00
mmacierzanka 6ab0874a1a moved and renamed CommandMessageStructure 2021-09-07 18:43:32 +02:00
mmacierzanka 0ec0eb985b removed old CommandManager 2021-09-07 18:34:17 +02:00
mmacierzanka 2c31443a01 replaced undefined type with null in Parameter 2021-09-07 18:27:11 +02:00
mmacierzanka 49f01a3bed created ChatCommandManager 2021-09-07 18:02:01 +02:00
mmacierzanka ea8211c5ff create CommandNotFound error 2021-09-07 18:01:37 +02:00
mmacierzanka 66d788084a added null input parameter type 2021-09-07 17:59:47 +02:00
mmacierzanka 47ec47338c renamed TextCommand to ChatCommand 2021-09-07 17:16:59 +02:00
mmacierzanka b7bdbf3977 fixed registration issue 2021-09-07 17:13:40 +02:00
mmacierzanka f4ffe3dda7 changed private _list property to protected type 2021-09-07 00:09:13 +02:00
mmacierzanka 317b75d116 old CommandManager as a temporary reference 2021-09-06 23:41:36 +02:00
mmacierzanka b2c33e7555 new extensible CommandManager 2021-09-06 23:41:14 +02:00
mmacierzanka 4a6f496009 Fixed an issue with context menu interactions not firing 2021-09-06 23:05:23 +02:00
mmacierzanka 9f66d98fb6 method changes in CommandManager 2021-09-06 20:51:55 +02:00
mmacierzanka 45c61d12cd removed general command type from basecommand types 2021-09-06 20:50:51 +02:00
mmacierzanka 1fac2e2ad8 added general command types 2021-09-06 20:50:34 +02:00
mmacierzanka ff510eb3f0 fixed help 2021-09-06 20:50:19 +02:00
mmacierzanka 4aefe4414a isCommand methods on separated classes 2021-09-06 19:35:38 +02:00
mmacierzanka 7022ca4fa5 temporarily removed command type checkers 2021-09-06 19:15:16 +02:00
mmacierzanka e27eefc2ee reworked get method and combined 2 fetch methods 2021-09-05 21:40:37 +02:00
mmacierzanka 77bcf43d12 created structure creator based on given command type 2021-09-05 21:35:53 +02:00
mmacierzanka 366b5ac372 minor changes and djs upgrade 2021-09-05 21:28:38 +02:00
mmacierzanka 7213ee33a6 fixed an error with registering slash command parameters 2021-09-05 18:43:35 +02:00
mmacierzanka 8c3f7d4c04 fixed critical error in command handler 2021-09-05 18:39:42 +02:00
mmacierzanka 7b5e70be30 changed regexps to accept diacritics 2021-09-05 18:33:11 +02:00
mmacierzanka 05df486add added regexp checking to parameters 2021-09-05 18:27:57 +02:00
mmacierzanka 0a5d4156aa fixed regexp checking 2021-09-05 18:20:58 +02:00
mmacierzanka c6d24525ad fixed imports and added command exports 2021-09-05 18:09:51 +02:00
mmacierzanka 903168ddd2 added registered api type 2021-09-05 18:02:20 +02:00
mmacierzanka d3ef3f4b08 Created UserCommand context menu 2021-09-05 18:02:06 +02:00
mmacierzanka 4750fcc7bd changed PhareOccurrenceData exporting file 2021-09-05 18:01:51 +02:00
mmacierzanka a38c248bd6 changed registration process to point to CommandManager 2021-09-05 18:00:20 +02:00
mmacierzanka 595d6ec5bc modified findPhraseOccurrence and created register method 2021-09-05 18:00:03 +02:00
mmacierzanka 3b0b9fbf3e reworked toObject methods on BaseCommand and TextCommand 2021-09-05 17:07:35 +02:00
mmacierzanka 6a0b8f3197 removed ugly formatting 2021-09-05 16:43:22 +02:00
mmacierzanka 1938e4c12f added discord api types 2021-09-05 16:43:02 +02:00
mmacierzanka c4b7dc3c44 getList method with type filtering 2021-09-05 16:18:45 +02:00
mmacierzanka 332a1dec97 removed @exports in JSDoc 2021-09-05 03:12:49 +02:00