Hilbish/emmyLuaDocs/commander.lua

15 lines
395 B
Lua
Raw Normal View History

2022-02-25 22:00:39 +00:00
--- @meta
local commander = {}
--- Removes the named command. Note that this will only remove Commander-registered commands.
2022-02-25 22:15:49 +00:00
function commander.deregister(name) end
2022-02-25 22:00:39 +00:00
--- Adds a new command with the given `name`. When Hilbish has to run a command with a name,
--- it will run the function providing the arguments and sinks.
---
---
2022-02-25 22:15:49 +00:00
function commander.register(name, cb) end
2022-02-25 22:00:39 +00:00
return commander