Zirak / SO-ChatBot

Other
124 stars 60 forks source link

$encode variable in the !!/learn command not working #66

Closed PanicIsReal closed 11 years ago

PanicIsReal commented 11 years ago

$encode variable in the !!/learn command not working, e.g.:

!!/learn lmgtfy 'http://lmgtfy.com?q=$encode($0))'

results in

Could not process input. Error: args.get is not a function on line 2130

Zirak commented 11 years ago

I'd also like to point out that you have an extra parentheses at the end: $encode($0))

PanicIsReal commented 11 years ago

Fixed, all is right with the bot again