長文を折りたたんでbot投稿
@respond_to('^hoge$') def members_command(message): attachments = [{ 'pretext': "pretext", 'text': "hoge\n" * 30}] message.reply_webapi('', json.dumps(attachments), in_thread=True)
参考
https://www.pydoc.io/pypi/slackbot-0.5.3/autoapi/dispatcher/index.html