Hilbish/emmyLuaDocs/commander.lua

15 lines
313 B
Lua
Raw Normal View History

2022-02-25 22:00:39 +00:00
--- @meta
local commander = {}
--- Deregisters any command registered with `name`
2022-02-25 22:15:49 +00:00
--- @param name string
function commander.deregister(name) end
2022-02-25 22:00:39 +00:00
--- Register a command with `name` that runs `cb` when ran
2022-02-25 22:15:49 +00:00
--- @param name string
--- @param cb function
function commander.register(name, cb) end
2022-02-25 22:00:39 +00:00
return commander