mirror of https://github.com/Hilbis/Hilbish
17 lines
325 B
Markdown
17 lines
325 B
Markdown
|
---
|
||
|
name: Module commander
|
||
|
description: library for custom commands
|
||
|
layout: apidoc
|
||
|
---
|
||
|
|
||
|
## Introduction
|
||
|
Commander is a library for writing custom commands in Lua.
|
||
|
|
||
|
## Functions
|
||
|
### deregister(name)
|
||
|
Deregisters any command registered with `name`
|
||
|
|
||
|
### register(name, cb)
|
||
|
Register a command with `name` that runs `cb` when ran
|
||
|
|