6d5f4bc85081 — Steve Fink 5 years ago
Move canonical home to sr.ht
1 files changed, 3 insertions(+), 3 deletions(-)

M mrgiggles.py
M mrgiggles.py +3 -3
@@ 160,7 160,7 @@ class BuddyBot(Bot):
 
 class CustomIRCBotProtocol(irc.IRCClient):
     realname = "IRC Bot for reporting GC rooting static analysis"
-    sourceURL = "https://bitbucket.org/sfink/mrgiggles"
+    sourceURL = "https://hg.sr.ht/~sfink/mrgiggles"
     versionName = "mrgiggles"
     versionNum = VERSION
 

          
@@ 381,7 381,7 @@ class CustomIRCBotProtocol(irc.IRCClient
         return None
 
     def command_source(self, rest, channel, **kwargs):
-        return 'source code is at %s\npatches welcome' % self.config.get('source-url', 'https://bitbucket.org/sfink/mrgiggles')
+        return 'source code is at %s\npatches welcome' % self.config.get('source-url', 'https://hg.sr.ht/~sfink/mrgiggles')
 
     def handleEvent(self, name, event):
         handlers = self.eventHandlers.get(name, [])

          
@@ 616,7 616,7 @@ class CustomIRCBotProtocol(irc.IRCClient
         return ["I have no help for '%s'" % topic]
 
     def help_message(self, source):
-        source_url = self.config.get('source-url', 'https://bitbucket.org/sfink/mrgiggles')
+        source_url = self.config.get('source-url', 'https://hg.sr.ht/~sfink/mrgiggles')
         msg = ['help for %s (%s):' % (self.nickname, source_url)]
         cmds, privcmds = self.get_commands()
         is_auth = self.is_authorized(source)