From: Matthew Vernon Date: Tue, 8 Jun 2010 09:42:32 +0000 (+0100) Subject: shorten url-mentioning text a bit X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=commitdiff_plain;h=760865eae0db1202b77880efba108a77186de1fa shorten url-mentioning text a bit --- diff --git a/commands.py b/commands.py index 6a1dd73..98d89ff 100644 --- a/commands.py +++ b/commands.py @@ -352,7 +352,7 @@ def urlq(bot, cmd, nick, conn, public,urldb): if urlstring != cmd.split()[1]: #first argument to URL was not the url conn.privmsg(bot.channel,"%s remarks %s" % (nick," ".join(cmd.split()[1:]))) else: - conn.privmsg(bot.channel,"%s would like to draw your attention to %s"%(nick," ".join(cmd.split()[1:]))) + conn.privmsg(bot.channel,"%s saw %s"%(nick," ".join(cmd.split()[1:]))) bot.automsg(False,nick,"That URL was unique; I have posted it into IRC") urldb[url]=UrlLog(url,nick)