8000 Group-like syntax commands · Issue #174 · go-telegram/bot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Group-like syntax commands #174
Open
@marcantoinegodde

Description

@marcantoinegodde

Hello :)

Following issue #157 and PR #168, we don't properly handle group-like syntax command (/command@botname), right?

It seems that even with MatchTypeCommand and MatchTypeCommandStartOnly we can't recognise the command because it's considered as a different one by data[e.Offset+1:e.Offset+e.Length] == h.pattern.

How would you do things differently? Search for pattern inclusion?

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0