merge i-am-only-a-bot-reply branch
This commit is contained in:
commit
6fe55f7eb1
|
@ -503,7 +503,7 @@ class Encyclopedia(callbacks.Plugin):
|
||||||
or channel in self.registryValue('editchannel') \
|
or channel in self.registryValue('editchannel') \
|
||||||
and capab(msg.prefix, 'restricted-editor')):
|
and capab(msg.prefix, 'restricted-editor')):
|
||||||
if len(text[:text.find('is')]) > 15:
|
if len(text[:text.find('is')]) > 15:
|
||||||
irc.error("I am only a bot, please don't think I'm intelligent :)")
|
irc.reply("I am only a bot, please don't think I'm intelligent :)", prefixNick=True)
|
||||||
else:
|
else:
|
||||||
irc.reply("Your edit request has been forwarded to %s. Thank you for your attention to detail" %
|
irc.reply("Your edit request has been forwarded to %s. Thank you for your attention to detail" %
|
||||||
self.registryValue('relaychannel',channel),private=True)
|
self.registryValue('relaychannel',channel),private=True)
|
||||||
|
@ -520,7 +520,7 @@ class Encyclopedia(callbacks.Plugin):
|
||||||
|
|
||||||
if not ret:
|
if not ret:
|
||||||
if len(text) > 15:
|
if len(text) > 15:
|
||||||
irc.error("I am only a bot, please don't think I'm intelligent :)")
|
irc.reply("I am only a bot, please don't think I'm intelligent :)", prefixNick=True)
|
||||||
return
|
return
|
||||||
retmsg = ''
|
retmsg = ''
|
||||||
ret = self.registryValue('notfoundmsg')
|
ret = self.registryValue('notfoundmsg')
|
||||||
|
|
Loading…
Reference in New Issue