code: def get_version(self):
          
          _, version = misc.get_version(self.confdir)
          if version is None:
              return "Can't get the version."
          else:
              return "cslbot - %s" % version
docs: Get the version.