botman / botman/driver-botframework

GroupChat @ Skype: bot name is included in received message

Open
#10 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9
Forks
10
PR merge metrics
No merged PRs in 30d

Description

This seems/might be related to https://github.com/botman/botman/issues/104

When in a group chat with a bot named "TestBot" the following occurs:

- `@TestBot Hello`
- message expected: `Hello`
- message received / heard: `TestBot Hello`
- `Hello @TestBot`
- message expected: `Hello`
- message received / heard: `Hello TestBot`

Are my expectations correct? This [test](https://github.com/botman/driver-botframework/blob/9c3fc249f6b66e5f3a548c3bd6cb628772f6862d/tests/BotFrameworkDriverTest.php#L125-L132) suggests that the botname should be removed from the message, right?

Is there a way to get the "raw" message before the driver applies [the regular expression](https://github.com/botman/driver-botframework/blob/9c3fc249f6b66e5f3a548c3bd6cb628772f6862d/src/BotFrameworkDriver.php#L74)?

Using `Skype version 8.30.0.50` on MacOs

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.