code: async def on_ctcp_version(self, by, target, contents):
          
          import pydle
  
          version = '{name} v{ver}'.format(name=pydle.__name__, ver=pydle.__version__)
          self.ctcp_reply(by, 'VERSION', version)
docs: Built-in CTCP version as some networks seem to require it.