Skip to content

[FEATURE] Add args present argument to command filter  #3798

@Poolitzer

Description

@Poolitzer

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

There is currently no filter defined by us which simply checks if a command message has args, e.g. start payload

Describe the solution you'd like

Add one argument to the command filter called has_args which checks if something comes after the command in the message.

Describe alternatives you've considered

One can do this filter by themselves, but providing one would be nice

Additional context

We could also start discussing if we want to provide some way to check the content of args, like a pattern match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions