def _command(name, description=None):
 def decorator(f):
  commands[name] = f
  if description:
   descriptions[name] = description
  return f
 return decorator

def _command ( name , description = None ) : def decorator ( f ) : commands [ name ] = f if description : descriptions [ name ] = description return f return decorator
decorate a function used to call a command .