update snarfuri to exclude command-line lines
* Exclude lines from being matched by snarfuri that begin with . * Enable posted time display by the posted module
This commit is contained in:
@@ -61,11 +61,9 @@ def posted(phenny, input):
|
||||
|
||||
posted = check_posted(phenny, input, url)
|
||||
if posted:
|
||||
# when the day comes when you can inhibit snarfuri if modules are called
|
||||
# phenny.reply("URL was posted {0}".format(posted))
|
||||
pass
|
||||
phenny.reply("URL was posted {0}".format(posted))
|
||||
else:
|
||||
phenny.reply("I don't remember seeing this URL in this channel.")
|
||||
|
||||
posted.thread = False
|
||||
posted.commands = ["posted"]
|
||||
posted.commands = ["posted"]
|
||||
|
||||
Reference in New Issue
Block a user