Skip to content

Commit 59c5257

Browse files
committed
doc: objects, not dicts
1 parent 1ddf708 commit 59c5257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structs/Api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ export class V1Api extends Api {
322322
* await client.postBotCommands(commands);
323323
* ```
324324
*
325-
* @param {APIApplicationCommand[]} commands A list of application commands in raw Discord API JSON dicts. This cannot be empty.
325+
* @param {APIApplicationCommand[]} commands A list of application commands in raw Discord API JSON objects. This cannot be empty.
326326
*/
327327
public async postBotCommands(commands: APIApplicationCommand[]): Promise<void> {
328328
await this._request("POST", "/v1/projects/@me/commands", commands);

0 commit comments

Comments
 (0)