Documentation / @imvu/bot / Middleware
Type Alias: Middleware
ts
type Middleware = (context, next) => void | Promise<void>;Defined in: packages/bot/src/Bot.ts:100
Parameters
| Parameter | Type |
|---|---|
context | CommandContext |
next | () => Promise<void> |
Returns
void | Promise<void>