Changeset 19:02968fe69fd1
Updated bot messages
author | unexist |
---|---|
date | Fri, 28 Aug 2015 12:56:34 +0200 |
parents | 28a7e6533697 |
children | 775fda0d6954 |
files | contextbot/layer.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/contextbot/layer.py Fri Aug 28 12:56:23 2015 +0200 +++ b/contextbot/layer.py Fri Aug 28 12:56:34 2015 +0200 @@ -109,7 +109,7 @@ print(traceback.format_exc()) - self.sendReply("Sorry Sir, something went wrong.", + self.sendReply("I am afraid I wasn't able to do your bidding, Mistress/Master.", entity.getFrom()) break @@ -198,7 +198,7 @@ def onUploadError(self, path, jid, url): print("[ERROR] Upload file failed: path=%s, hid=%s, url=%s" % ( path, jid, url)) - self.sendReply("Sorry Sir, image couldn't be uploaded.", jid) + self.sendReply("I am afraid I wasn't able to do your bidding, Mistress/Master.", jid); # }}} ## onUploadProgress {{{ @@ -381,7 +381,7 @@ self.conn.commit() - self.sendReply("Thank you, Sir.", jid) + self.sendReply("As you command, Mistress/Master.", jid) except sqlite3.Error, e: print("Error %s" % e.args[0])