Merge lp:~andrea.corbellini/ubuntu-bots/i-am-only-a-bot-reply into lp:ubuntu-bots
Proposed by
Andrea Corbellini
Status: | Merged |
---|---|
Merged at revision: | 245 |
Proposed branch: | lp:~andrea.corbellini/ubuntu-bots/i-am-only-a-bot-reply |
Merge into: | lp:ubuntu-bots |
Diff against target: |
21 lines (+2/-2) 1 file modified
Encyclopedia/plugin.py (+2/-2) |
To merge this branch: | bzr merge lp:~andrea.corbellini/ubuntu-bots/i-am-only-a-bot-reply |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
m4v | Approve | ||
Review via email: mp+60322@code.launchpad.net |
Description of the change
When a user tries to speak with the bot, reply to him, so the message doesn't get lost and is easy to find.
Before:
<foobar> hello ubottu
<ubottu> Error: I am only a bot, please don't think I'm intelligent :)
After:
<foobar> hello ubottu
<ubottu> foobar: I am only a bot, please don't think I'm intelligent :)
To post a comment you must log in.
Andrea, thanks for helping us with Ubottu! :D
I agree with you in changing the way ubottu says the "I'm not smart" message, however, this patch only gets rid of the "Error: " bit of text, it doesn't prefix the user's nick like your description says, it will say "<ubottu> I am only a bot ..." If you want the bot to address the user, you have to use prefixNick=True, like irc.reply("I am only a bot ...", prefixNick=True)
Andrea, since your patch doesn't quite does what the description says, I'm not sure if I should approve, will you revise it? :) You can test it by setting up an ubottu clone, if you need help with that you can join #ubuntu-bots-devel on freenode and ask me or tsimpson.