Methods
request()
Parameters
| Parameter | Type | Description |
|---|---|---|
request | object | The request object. |
request.method | string | The method name. |
request.params? | any[] | Record<string, any> | The parameters for the method. |
request.shard? | Shard | The shard to send the request to. |
Returns
Promise<any>
The result of the request.
