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 |
|
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
|
8fe02ab2dc
|
changed package to 4.0.0
|
2021-09-03 20:34:26 +02:00 |
|
mmacierzanka
|
3e089acf60
|
SubCommand barebones
|
2021-09-03 17:52:39 +02:00 |
|
mmacierzanka
|
5525ebfe4c
|
3.2.0 beta1
|
2021-09-02 23:35:47 +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
|
23f7279635
|
fixed types importing in index.ts
|
2021-09-02 22:51:47 +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
|
695f66843f
|
3.1.1 npm
|
2021-08-31 19:34:49 +02:00 |
|
mmacierzanka
|
bf375336a9
|
added warning about messages customizations
|
2021-08-31 18:54:33 +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
|
f18f40a1ff
|
added command warning
|
2021-08-31 18:36:17 +02:00 |
|
mmacierzanka
|
4473e7f404
|
improved code safety by adding readonly keywords
|
2021-08-31 18:21:52 +02:00 |
|
mmacierzanka
|
7d05248fdb
|
modified tags
|
2021-08-31 01:28:48 +02:00 |
|
mmacierzanka
|
d91c64f625
|
3.1.0 stable release
|
2021-08-31 01:25:49 +02:00 |
|
mmacierzanka
|
441b6f54e0
|
added features section to readme
|
2021-08-31 01:25:19 +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
|
22997d8caf
|
3.1.0-beta1
|
2021-08-30 02:15:24 +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
|
9bb7afd7df
|
3.0.0
|
2021-08-29 17:52:16 +02:00 |
|
mmacierzanka
|
1a1a36fd20
|
finalized documentation
|
2021-08-29 17:49:01 +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
|
1992d0f86d
|
events in readme
|
2021-08-29 16:48:37 +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
|
781775f34a
|
More documentation completed
|
2021-08-29 01:26:36 +02:00 |
|
mmacierzanka
|
95abc9dc92
|
added reply check to command default return actions
|
2021-08-29 00:48:58 +02:00 |
|
mmacierzanka
|
dd92963ff7
|
readme parameters
|
2021-08-27 15:17:13 +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
|
edbf63b71e
|
changes to readme
|
2021-08-26 14:50:29 +02:00 |
|
mmacierzanka
|
77f503381b
|
more code safety on register
|
2021-08-26 14:39:10 +02:00 |
|
mmacierzanka
|
4dc6556731
|
rc5
|
2021-08-26 02:33:49 +02:00 |
|