botman / botman/driver-slack

getBotUserId() returns NULL

Open
#52 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

When I call the `getBotUserId()` function, I do not get back the bot user ID but `NULL`.

# Reproduction steps
```php
loadDriver('Slack');
$botUserId = $botman->getDriver()->getBotUserId();

echo $botUserId;
echo gettype($botUserId);
```

---

PHP: 7.1.33
Botman: 2.5.0
Slack-Driver: 2.2.0

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.