Class: JunkCardCommand

nationscript/requests/command~JunkCardCommand()

Request subclass for building requests to the commands endpoint of the API, specifically for executing the c=junkcard nation private command.

Constructor

new JunkCardCommand()

Additionally mandates the cardid and season arguments and sets the c argument.

Methods

setCard(id, season) → {this}

Define the trading card to send by its card ID and season.

Parameters:
Name Type Description
id number

ID of the card to send

season number

Season ID of the card

Returns:

The command, for chaining

Type
this