Update function_declarations.h

Get slot number of command invoker