docs: add a module-developer API reference (docs/api/) — Command/Module/ChanMode/UserMode traits, the Server API surface, per-entity Extensible state, and a first-module tutorial
This commit is contained in:
parent
bd054f7721
commit
d795d1a59c
7 changed files with 569 additions and 1 deletions
|
|
@ -117,7 +117,8 @@ objects instead of a fragile plugin ABI. **Full design notes:**
|
|||
|
||||
## Extending
|
||||
|
||||
Three small extension points, each one file + one table line:
|
||||
Three small extension points, each one file + one table line — full reference and
|
||||
a tutorial in [`docs/api/`](docs/api/):
|
||||
|
||||
- **Commands** (`src/command.rs`, `src/coremods/`) — a handler with `name`,
|
||||
`min_params`, `before_reg`, `handle(&mut Server, uid, params)`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue