botman / botman/driver-slack

invalid_attachments_format

Open
#28 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
51
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Is it possible to reply with attachment to command?

```
$bot->reply('', [
"attachments" => json_encode([
[
"color" => "good",
"text" => "No active timers found..."
]
])
]);
```

It fails with the following error in Slack:

*/comamnd* failed with the error "invalid_attachments_format"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.