_command_before_import_

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

Summary

Called before the command is imported into the system.

Details

Usually called during system startup. Hook is called when a command is about to be added/imported into the system. This is the first hook to be called during import.

This hook will continue to run regardless of exception thrown.

See also

KWargs

  • called_by (ref) - Reference to the commands library.
  • command - (dict) Of values for the command.
  • command_id - (str) Command ID.

Expects

Not expecting any data returned.


This page was last edited on 15 September 2018.