Purple.CommandsUiOps.register_command – purple Reference Manual
register_command
Description:
public
unowned
Callback
register_command