Zirak / SO-ChatBot

Other
124 stars 60 forks source link

!!learn throws raw exception. #296

Open OMG-Abaddon opened 6 years ago

OMG-Abaddon commented 6 years ago

Using the command !!learn without arguments throws an exception.

Reproduction: https://chat.stackoverflow.com/transcript/message/41751488#41751488

!!learn

Caprica Six @HéctorÁlvarez Could not process input. Error: command.name is undefined on line 4954

Expected result: Warn the user about the arguments required.