Commit Graph
100 Commits
Author SHA1 Message Date
mmacierzanka cea34d12f1 added documentation 2021-11-21 03:01:35 +01:00
mmacierzanka aa6cb8b3da Documentation changes and new README 2021-11-21 02:54:58 +01:00
mmacierzanka 8dab386e6c ignored docs 2021-11-21 02:02:35 +01:00
mmacierzanka 10cb037b4b changed jsdoc on system messages 2021-11-20 23:27:32 +01:00
mmacierzanka 9938de3ae4 more remarks 2021-11-20 23:21:04 +01:00
mmacierzanka eb3f1616d3 added remarks 2021-11-20 19:00:34 +01:00
mmacierzanka d0c22c4365 changed InitOptions link to Discord.js structures 2021-11-20 18:41:32 +01:00
mmacierzanka d04611dbe0 ignored documentation directory 2021-11-20 18:17:07 +01:00
mmacierzanka 651db55bb2 added return to getPermissionsApi 2021-11-17 18:00:03 +01:00
mmacierzanka e5c203df09 JSDoc final and tweaks
removed default export
2021-11-17 17:11:43 +01:00
mmacierzanka c557a0968d JSDoc context, help, subcommand, sbcmd group 2021-11-13 21:38:56 +01:00
mmacierzanka 5aff535029 types JSDoc 2021-11-13 13:41:34 +01:00
mmacierzanka c0312dab62 interface JSDoc fix and more type updates 2021-11-13 12:22:49 +01:00
mmacierzanka 31fcaa5210 added a huge amount of main exports 2021-11-13 03:04:11 +01:00
mmacierzanka 66643a2381 fixed importing bug 2021-11-13 02:52:09 +01:00
mmacierzanka 148d13825e Major command-related JSDoc update 2021-11-13 01:27:45 +01:00
mmacierzanka 6aec23658b added JSDoc almost everywhere else 2021-10-24 02:56:06 +02:00
mmacierzanka 60f14395cf removed stability warning 2021-10-24 02:55:30 +02:00
mmacierzanka 265f00d5c9 JSDoc (InitOptions) 2021-10-24 02:42:13 +02:00
mmacierzanka 2e8ec34797 JSDoc (commands) 2021-10-13 17:29:23 +02:00
mmacierzanka 4977fc1d16 4.0.0-rc1 - updated some JSDoc and fixed autocompletion 2021-10-13 16:13:22 +02:00
mmacierzanka f1881a5d01 fixed autocompletion 2021-10-13 16:13:04 +02:00
mmacierzanka d2d3103c37 JSDoc (CommandPermissions, InputManager) 2021-10-12 17:27:41 +02:00
mmacierzanka fdd04f70d9 JSDoc (Bot, CommandManager) 2021-10-11 18:14:14 +02:00
mmacierzanka 80e4382b33 beta7a npm 2021-10-10 03:42:23 +02:00
mmacierzanka a199a1d3ce added types to TargetID 2021-10-10 03:37:47 +02:00
mmacierzanka 6c6b45458e beta7 npm 2021-10-10 02:36:29 +02:00
mmacierzanka 976511080b added space removing 2021-10-10 02:34:25 +02:00
mmacierzanka 88d488e09b added choices handling and fixed a bug with bool values 2021-10-10 02:32:32 +02:00
mmacierzanka e73de42801 fixed errors 2021-10-10 02:27:02 +02:00
mmacierzanka 5f1ab4b798 fixed importing 2021-10-10 02:12:31 +02:00
mmacierzanka d3dd0cf729 changed all command objects to use InputManager 2021-10-10 02:09:40 +02:00
mmacierzanka 3195d140d2 changed fetch methods to return InputManager 2021-10-10 01:55:27 +02:00
mmacierzanka 130142b061 changed error data to ParameterResolvable 2021-10-10 01:54:52 +02:00
mmacierzanka c7dc7d6821 added types and checking 2021-10-10 01:54:34 +02:00
mmacierzanka de9c58e581 added parameter types and InputManager 2021-10-09 19:35:58 +02:00
mmacierzanka 6247428f8e ObjectID built-in type and Guild object 2021-10-09 18:48:50 +02:00
mmacierzanka da763e60ea reverted recent changes 2021-10-09 04:04:39 +02:00
mmacierzanka 8a774a4ce0 fixed "Invalid form body" Discord registration error 2021-09-26 03:17:36 +02:00
mmacierzanka bfc472c2db beta6a - minor code changes 2021-09-24 22:41:57 +02:00
mmacierzanka 7de0f5dbaa bound parameters to commands 2021-09-24 21:26:03 +02:00
mmacierzanka 256b44116a bound SystemMessageManager to Bot client 2021-09-24 20:28:33 +02:00
mmacierzanka 800f46a1c6 destructured the InitOptions object 2021-09-24 20:02:57 +02:00
mmacierzanka 661b401379 beta6 - added subcommand to help...
streamlined inheritance accessors, changed help inner working
2021-09-23 21:52:02 +02:00
mmacierzanka 4c97a1e7b4 fixed subcommand objects 2021-09-23 20:52:09 +02:00
mmacierzanka de85f5b77a MAJOR CHANGE - removed NestedCommand, finalized merging 2021-09-23 20:41:21 +02:00
mmacierzanka ad8da005bc joining NestedCommand and ChatCommand 2021-09-23 20:21:28 +02:00
mmacierzanka b39ec45fa5 beta5b 2021-09-23 19:48:28 +02:00
mmacierzanka b942d32663 added support for all interaction types that support replying 2021-09-23 19:48:14 +02:00
mmacierzanka c17ca1f2ae added an ability to send messages directly to a text channel 2021-09-23 19:42:40 +02:00
mmacierzanka ba641a499a added rate limit error catching 2021-09-22 23:32:14 +02:00
mmacierzanka c86eb96450 beta 5a npm 2021-09-22 23:26:48 +02:00
mmacierzanka c61c8c3bd6 MAJOR CHANGE - inverted type naming changes
changed APICommand to Command, changed structures
2021-09-22 23:26:11 +02:00
mmacierzanka d2f9ed6bad beta5 npm 2021-09-20 23:55:25 +02:00
mmacierzanka 7c9c2c8b8b added toObject method and guild and dm parameter checking 2021-09-20 19:29:42 +02:00
mmacierzanka 3b0cb00e6a added toObject methods 2021-09-20 19:29:25 +02:00
mmacierzanka d20d42ab32 removed command checking, reenabled registering 2021-09-20 19:28:41 +02:00
mmacierzanka 1c829e39f3 changed SubCommandGroup type to inherit from APICommandType 2021-09-20 19:27:56 +02:00
mmacierzanka dd9c85c3f9 added bot message checking 2021-09-20 19:25:22 +02:00
mmacierzanka 3018425788 changed entry checking method to only include commands with the same type 2021-09-20 18:55:36 +02:00
mmacierzanka 8c40a21967 made code prettier and added name and alias checking 2021-09-20 18:53:48 +02:00
mmacierzanka b25d68e21d made manager property public 2021-09-20 18:35:05 +02:00
mmacierzanka 98c746344a added catching to system messages (to prevent crashes) 2021-09-19 22:23:01 +02:00
mmacierzanka 330a197d22 fixed dm and guild checking 2021-09-19 03:57:15 +02:00
mmacierzanka 9766fc850d updated type-checking methods 2021-09-19 03:28:53 +02:00
mmacierzanka 53d2034f1f removed function prop from NestedCommandInit 2021-09-18 01:49:06 +02:00
mmacierzanka 479dab1cf4 fixed logical error 2021-09-18 01:41:48 +02:00
mmacierzanka b613ab9a3e added string checker 2021-09-18 01:35:59 +02:00
mmacierzanka b8ad7b1299 fixed permission checker 2021-09-18 01:33:51 +02:00
mmacierzanka e968667bbb disabled command registering service (temporary) 2021-09-18 01:27:51 +02:00
mmacierzanka 3960e0ac26 added utils, changed command type holding and fixed bugs 2021-09-18 01:24:02 +02:00
mmacierzanka b76006ece1 MAJOR CHANGE - massive structure and classes rework
Splitted BaseCommand to lots of base types
2021-09-18 00:36:55 +02:00
mmacierzanka 471b79d3a8 beta4 npm 2021-09-17 19:01:38 +02:00
mmacierzanka 175acb1d0e added getters and permissions api 2021-09-17 18:59:38 +02:00
mmacierzanka 7b28b1c26d added permission api types
(for discord built-in permissions)
2021-09-17 18:58:46 +02:00
mmacierzanka ef092c92d7 moved error event emitting to fire earlier...
before sending a system message
2021-09-17 18:31:43 +02:00
mmacierzanka 706e426916 beta3 npm 2021-09-15 19:43:59 +02:00
mmacierzanka 82a3ff107c changed get method to not use overlaps 2021-09-15 18:45:39 +02:00
mmacierzanka 0087b995f5 changed and added some JSDoc comments 2021-09-15 18:33:27 +02:00
mmacierzanka 548f0feddb MAJOR CHANGE - CommandPermissions
CommandPermissions class holding all permission-related things
2021-09-15 17:22:22 +02:00
mmacierzanka 6f013f48c2 changed permissions.ts types to CommandPermissions.ts 2021-09-15 00:47:29 +02:00
mmacierzanka 2c86b6ba53 changed CheckPermissions to CommandPermissions 2021-09-15 00:46:44 +02:00
mmacierzanka 1660fa8ef7 made parent property readonly 2021-09-15 00:25:49 +02:00
mmacierzanka fedebf0b23 removed extra line 2021-09-14 23:53:41 +02:00
mmacierzanka d6ede6f2dd moved isCommand static method to CommandManager
for better accessibility
2021-09-14 23:48:51 +02:00
mmacierzanka f55bb14720 moved static method to the bottom 2021-09-14 23:41:34 +02:00
mmacierzanka 58354bac84 beta2 npm 2021-09-14 23:40:09 +02:00
mmacierzanka 45327ed6f7 added PermissionsOptions 2021-09-14 23:39:56 +02:00
mmacierzanka a4cee7d005 removed dm prop from NestedCommand (useless) 2021-09-14 23:30:54 +02:00
mmacierzanka de5599934c added dm property to subclasses 2021-09-14 19:14:33 +02:00
mmacierzanka 4b82df4b9c changed command init interfaces 2021-09-14 19:10:31 +02:00
mmacierzanka e9ebcd36f9 fixed command objects to match new permission system 2021-09-14 18:48:32 +02:00
mmacierzanka 27c09bedd9 CheckPermissions - merged checkType and Permissions obj 2021-09-14 18:47:14 +02:00
mmacierzanka d5e0136c9e moved handleReply to the bottom 2021-09-14 18:32:18 +02:00
mmacierzanka 68a9628101 dm property to block interactions from private messages 2021-09-14 17:57:51 +02:00
mmacierzanka 3ceaef2b7c removed prefixes accessor (it was for debugging) 2021-09-14 17:43:49 +02:00
mmacierzanka 6d7fe78ee7 adjusted PrefixManager.get method calls 2021-09-14 17:40:33 +02:00
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