Misc

Miscellaneous functions

get_version()

Usage

get_version()

Returns

Bot version as a string.

21.1.9

select_character(name)

Selects a character by its name.

Usage

select_character('Character_Name')

Returns

None

set_profile(name)

Changes the profile for the character.

Usage

set_profile('name')

Returns

True if the profile was changed otherwise False.

get_profile()

Returns

string with the profile name (can be empty for the default profile) or None if you are not logged in.

disconnect()

Disconnects from the server. Does not change relog settings.

Usage

disconnect()

Returns

None

show_notification(title, message)

Shows a tray notification if the bot is minimized.

Usage

show_notification('title', 'message')

Returns

True if the arguments are correct.

False if the arguments are incorrect.

play_wav(path)

Plays a WAV file.

Usage

play_wav('C:/my_wav_file.wav')

Returns

None

minimize() / unminize()

Minimizes or unminimizes the bot.

Usage

minimize()

unminimize()

Returns

None

Last updated