user.plugin.command_history.command_history.py

Modules

Actions

user.history_clear()

Clear the history

user.history_disable()

Disables the history

user.history_enable()

Enables the history

user.history_get(number: int) str

returns the history entry at the specified index

user.history_less()

Show less history

user.history_more()

Show more history

user.history_toggle()

Toggles viewing the history

user.history_transform_phrase_text(words: list[str]) str | NoneType

Transforms phrase text for presentation in history. Return `None` to omit from history

Settings

user.command_history_size: int = 50
user.command_history_display: int = 10