Skip to content
This repository was archived by the owner on Jan 1, 2022. It is now read-only.
This repository was archived by the owner on Jan 1, 2022. It is now read-only.

Refactoring the CommandBase #8

@poulad

Description

@poulad

Methods of a command class (canHandle, parse, handle) should only get a Message as input not the Update because it could be confusing to the user.

Also, updates of types other than [Edited]MessageUpdate are never considered as command.

btw, CommandBase.CanHandleCommand doesn't need to be virtual.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions