Skip to content

Flint 5 may be "over-normalizing" message text? #21

@jpjpjp

Description

@jpjpjp

The processing of a message in lib/trigger.js includes this call:

          let normalText = text(trigger.message.text).normalize();

This will change text like this: "Bot /echo Repeat this back to me."
To this: "bot echo repeat this back to me "

Essentially removing any forward slashed and converting all the message text to lower case. This will likely break existing bots when migrating to flint 5 if by design.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions