From 7ec200105a3dffd120df3d3ee62afe6b528f3724 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Tue, 12 Jun 2012 16:50:02 +1200 Subject: [PATCH] tweaks done while working on CloudWeb --- plugins/factoids.py | 2 +- plugins/hash.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/factoids.py b/plugins/factoids.py index 5a028ac..5951da4 100755 --- a/plugins/factoids.py +++ b/plugins/factoids.py @@ -87,7 +87,7 @@ def remember(inp, nick='', db=None, say=None, input=None, notice=None): % data.replace('"', "''")) return else: - notice('Remembered!') + notice('Factoid created!') return diff --git a/plugins/hash.py b/plugins/hash.py index 63d8f21..b7a00ac 100755 --- a/plugins/hash.py +++ b/plugins/hash.py @@ -4,25 +4,25 @@ from util import hook @hook.command def md5(inp): - "hash -- Returns a md5 hash of ." + "md5 -- Returns a md5 hash of ." return hashlib.md5(inp).hexdigest() @hook.command def sha1(inp): - "hash -- Returns a sha1 hash of ." + "sha1 -- Returns a sha1 hash of ." return hashlib.sha1(inp).hexdigest() @hook.command def sha256(inp): - "hash -- Returns a sha256 hash of ." + "sha256 -- Returns a sha256 hash of ." return hashlib.sha256(inp).hexdigest() @hook.command def sha512(inp): - "hash -- Returns a sha512 hash of ." + "sha512 -- Returns a sha512 hash of ." return hashlib.sha512(inp).hexdigest()