Hilbish/docs/api/commander.md

17 lines
325 B
Markdown
Raw Normal View History

---
name: Module commander
2022-12-03 20:54:34 +00:00
description: library for custom commands
layout: apidoc
---
## Introduction
2022-12-03 20:54:34 +00:00
Commander is a library for writing custom commands in Lua.
## Functions
2022-12-03 20:54:34 +00:00
### deregister(name)
Deregisters any command registered with `name`
2022-12-03 20:54:34 +00:00
### register(name, cb)
Register a command with `name` that runs `cb` when ran