@@ 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)