Stop calc from flooding, and can now join channels with a key.
This commit is contained in:
@@ -64,7 +64,7 @@ def tr(phenny, context):
|
||||
else: msg = 'The %s to %s translation failed, sorry!' % (input, output)
|
||||
|
||||
phenny.reply(msg)
|
||||
else: phenny.reply('Ehwhatnow?')
|
||||
else: phenny.reply('Language guessing failed, so try suggesting one!')
|
||||
|
||||
tr.rule = ('$nick', ur'(?:([a-z]{2}) +)?(?:([a-z]{2}) +)?["“](.+?)["”]\? *$')
|
||||
tr.example = '$nickname: "mon chien"? or $nickname: fr "mon chien"?'
|
||||
|
||||
Reference in New Issue
Block a user