Config

get_config_path()

This function returns the player's JSON configuration path. Any changes you make will be overwritten by the bot at some point.

Usage

get_config_path()

Returns

string or None if the player is not in game.

get_config_dir()

This function returns the phBot Config directory. It will include a trailing forward slash - you do not need to append one.

Usage

get_config_dir()

Returns

string

get_log_dir()

This function returns the phBot Log directory. It will include a trailing forward slash - you do not need to append one.

Usage

get_log_dir()

Returns

string

Last updated