scrapinghub / slackbot

A chat bot for Slack (https://slack.com).
MIT License
1.26k stars 396 forks source link

No output from message.docs_reply() #143

Closed oz-linden closed 7 years ago

oz-linden commented 7 years ago

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

but all I get is the "I will try to help"

What am I missing?

oz-linden commented 7 years ago

Ah ... that should have been message.reply(message.docs_reply())