code: def cmd_speech(self, args):
          '''speech commands'''
          usage = "usage: speech <say>"
          if len(args) < 1:
              print(usage)
              return
  
          if args[0] == "say":
              if len(args) < 2:
                  print("usage: speech say <text to say>")
                  return
              self.say(" ".join(args[1::]))
          if args[0] == "list_voices":
              self.list_voices(f cmd_speech(self, args):
          '''speech commands'''
          usage = "usage: speech <say>"
          if len(args) < 1:
              print(usage)
              return
  
          if args[0] == "say":
              if len(args) < 2:
                  print("usage: speech say <text to say>")
                  return
              self.say(" ".join(args[1::]))
          if args[0] == "list_voices":
              self.list_voices()
docs: speech commands