> For the complete documentation index, see [llms.txt](https://plugins.phbot.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugins.phbot.org/phbot-api/botting.md).

# Botting

## start\_bot()

Starts botting.

#### Returns

`True` if bot has started, `False` if starting the bot failed.

## stop\_bot()

Stops botting.

#### Returns

`True` if bot has stopped, `False` if stopping the bot failed.

## start\_trace(name)

Starts tracing a player.

#### Returns

`True` if tracing has started, `False` if starting the trace failed.

#### Usage

`start_trace('player name')`

## stop\_trace()

Stops tracing.

#### Returns

`True` if trace has stopped, `False` if stopping the trace failed.

## start\_trade()

Starts auto trade.

#### Returns

`True` if trading has started, `False` if starting trade failed.

## stop\_trade()

Stops auto trade.

#### Returns

`True` if auto trade has stopped, `False` if stopping auto trade failed.
