Document /snippets

This commit is contained in:
luk3yx 2021-03-10 20:59:31 +13:00
parent 06bb7af7a8
commit 43d9308c6b
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
A way for admins to run and save lua snippets.
## Chatcommands
- `/snippets`: Open the snippets console.
## API
- `snippets.register_snippet(name, <code or def>)`: Registers a snippet.