Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

All Events

Nate the great edited this page Jan 8, 2018 · 2 revisions

List of all events that you can listen too


logged_on ()

Runs after the client has logged into steam


start_poll ()

Runs before steam-trade starts polling


end_poll ()

Runs after steam-trade is done polling


new_trade (trade: TradeOffer)

Runs when a new trade offer is discovered


trade_sent (trade: TradeOffer)

Runs when a trade has been sent by the client


new_conf (conf: Confirmation)

Runs when a new confirmation is discovered


trade_accepted (trade: TradeOffer)

Runs when a trade has changed it's state too accepted


trade_declined (trade: TradeOffer)

Runs when a trade has changed it's state too declined


trade_countered (trade: TradeOffer)

Runs when a trade has changed it's state too countered


trade_cancled (trade: TradeOffer)

Runs when a trade has changed it's state too cancled


trade_expired (trade: TradeOffer)

Runs when a trade has changed it's state too expired


trade_state_changed (trade: TradeOffer)

If the state has changed, and it isn't listed above, it will run this


poll_error (reason for error:str/Exception)

If there was an error while polling, this will run


error (err: Exception)

Any uncaught errors will run this function

Clone this wiki locally