Commits

Jason R. Coombs  committed 53c304d

Output package version when queried for version

  • Participants
  • Parent commits 29ea376

Comments (0)

Files changed (1)

 
         Used when answering a CTCP VERSION request.
         """
-        return "Python irc.bot (part of irc)"
+        version='.'.join(irc.client.VERSION) or 'unknown'
+        return "Python irc.bot ({version})".format(version=version)
 
     def jump_server(self, msg="Changing servers"):
         """Connect to a new server, possibly disconnecting from the current.