Commit Graph

11 Commits

Author SHA1 Message Date
Linden
b06ba2d024 chore: type fixes 2023-07-25 01:59:39 +10:00
Linden
389ed5263d fix(server/addCommand): nil command name on error 2023-04-01 11:25:57 +11:00
Linden
47b8a72527 refactor(server/addCommand): add suggestion on command creation
Delayed commands should trigger the suggestion.
2023-02-22 01:30:52 +11:00
Linden
b47ae9d4fa refactor(server/addCommand): use single command handler for aliases 2023-02-22 01:27:03 +11:00
Linden
4d15b38d02 feat(imports/addCommand)!: update syntax and support param help text
BREAKING CHANGE: First parameter now holds command name(s).
Second parameter is properties, containing (optional) values for help,
restricted, and params.

See #224 for more info.
2023-02-21 19:52:12 +11:00
Linden
d2799075ad fix: types and nil-checks 2022-11-21 21:39:05 +11:00
Linden
a2014502d5 refactor(addCommand): send raw input to callback
Resolves #101, just use a pattern or split the string.
2022-10-25 03:09:12 +11:00
Linden
863ac03ca3 refactor(imports): more type fixes 2022-09-14 16:12:43 +10:00
Linden
26538b8148 refactor(imports): assign modules directly to lib namespace
Mostly a change for improved intellisense with sumneko lua.
Includes some type fixes and deprecation notices.
2022-09-14 01:20:50 +10:00
Jag
3c82b654ff feat(addCommand): Allow multiple groups (#57) 2022-07-12 18:50:01 +10:00
Linden
aeccbece09 refactor: rename imports
BREAKING!
Since the folder name determines the import name (i.e. lib.callbacks), use better names and lowerCamelCase.
2022-02-28 16:30:58 +11:00