docs: def record_asciinema(self):
          '''record an asciinema from the user session, saving the file to
             a temporary file and showing the user so if he/she needs to do it
             again, the file can be provided. The flow of events below makes
             the following checks:
  
             1. The user confirms it is ok to record
             2. The record_asciinema setting is present and True in the config
             3. An asciinema file path has not been provided by the user
  
          '''
  
          # If the user already provided a file, we don't need to ask again
  
          if 'record_asciinema' not in self.data:
  
              if confirm_prompt("Would you like to send a terminal recording?"):
  
                  try:
                      record = self.config.getboolean(self.name, 'record_asciinema')
                      filename = record_asciinema()
                      self.data['record_asciinema'] = filename
  
                      message = '''If you need to run helpme again you can give
                      the path to this file with  --asciinema %s''' % filename
  
                      bot.custom(prefix="Asciinema ", message=message, color="CYAN")
  
                  except NoOptionError:
  
                      bot.warning('Cannot record asciinema, skipping.')