populateSuccessfulResponse
declare function populateSuccessfulResponse(res: ServerResponse, data: Dispatcher.ResponseData): Promise<void>;
declare function populateSuccessfulResponse(res: ServerResponse, data: Dispatcher.ResponseData): Promise<void>;
Populates a server response with the data from a Discord 2xx REST response
Name | Type | Optional | Description |
---|---|---|---|
res | ServerResponse | No | The server response to populate |
data | Dispatcher.ResponseData | No | The data to populate the response with |