Hilbish/docs/api/commander.md

20 lines
355 B
Markdown
Raw Normal View History

---
title: Module commander
2022-12-03 20:54:34 +00:00
description: library for custom commands
layout: doc
menu:
docs:
parent: "API"
---
## 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