@statsanytime/trade-bots-steam
v1.0.0-alpha.27
Published
Official Steam plugin for the StatsAnytime Trade Bots framework.
Downloads
17
Readme
@statsanytime/trade-bots-steam
Official Steam plugin for the StatsAnytime Trade Bots framework.
Installation
pnpm install @statsanytime/trade-bots-steam
Usage
For information on how to use this in the context of the framework, we recommend reading the official framework documentation here.
This package exports the following functions:
createSteamPlugin
Creates a new Steam plugin instance. This takes a single options argument:
export interface SteamPluginOptions {
accountName: string;
password: string;
sharedSecret: string;
identitySecret: string;
}
acceptTradeOffer
Accepts a trade offer for the item in the current context. It does not take any arguments.