nautobot-app-chatops
nautobot-app-chatops copied to clipboard
Bot replies are in a downloadable file called "files" - MatterMost
Environment
- Python version: 3.9.18
- Nautobot version: 2.2.0
- nautobot-chatops version: 3.0.2
- MatterMost version: 9.6.1
Expected Behavior
Bot to reply in a text message, not with the text in a downloadable file called "files".
Observed Behavior
All bot responses are in a downloadable file called "files"
Steps to Reproduce
- Issue slash command
- Bot responds with a downloadable file called "files" which contains the text of the response.
- See the screenshot for more details.
This is due to Mattermost limitations in message response. Any table is uploaded as a snippet. This is the same with Slack, but small snippets in Slack are automatically rendered by Slack.
Thank you for your reply. That's unfortunate.
@smk4664 should we look at some alternate methods to support just straight text?
We already support other methods, such as send_markdown. But many of the built-in commands such as get-devices were built using send_large_table which uses snippets.