I wrote the following plugin:
@respond_to(r'^\s*help\b', re.IGNORECASE) def help(message): """help: I can do anything you can do""" message.reply('I will try to help') message.docs_reply()
What I expected when I sent 'help' to the bot was a reply like:
I will try to help
help: I can do anything you can do
I wrote the following plugin:
@respond_to(r'^\s*help\b', re.IGNORECASE) def help(message): """help: I can do anything you can do""" message.reply('I will try to help') message.docs_reply()
What I expected when I sent 'help' to the bot was a reply like:but all I get is the "I will try to help"
What am I missing?