pond.quotatime=time.time()
# List of things the bot might be called to work round the self-trouting code
-synonyms=["itself","the bot"]
+synonyms=["itself","the bot","themself"]
# trout someone, or flirt with them
def troutq(bot, cmd, nick, conn, public, cfg):
conn.privmsg(bot.channel,"%s remarks: %s" % (nick," ".join(cmd.split()[1:])))
else:
conn.privmsg(bot.channel,"(via %s) %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)
### Deal with URLs spotted in channel
tweetID = parts[-1]
try:
status = twitapi.GetStatus(tweetID)
- print status, type(status), status=={}
+ #print status, type(status), status=={}
if status == {}:
return "twitapi.GetStatus returned nothing :-("
if status.user == None and status.text == None: