_command_before_update_

From Yombo
< docs‎ | hooks
Jump to: navigation, search
command_before_update
Hook name _command_before_update_
Status Active
Hook source type Library
Stop on exception No
Commonly used No
Implemented by commands

Summary

If the command does exist in the system, this hook called before it's updated.

Details

If the command does exist in the system, this hook called before it's updated. This hook is called after _command_before_import_, while the _command_updated_ hook is called afterwards.

This hook will continue to run regardless of exception thrown.

See also

KWargs

  • called_by (ref) - Reference to the commands library.
  • command - (obj) Instance of the command object.
  • command_id - (str) Command ID.

Expects

Not expecting any data returned.


This page was last edited on 15 September 2018.