Skip to content

Universal command prefix #5

@samitheberber

Description

@samitheberber

It would be nice if commands doesn't determine !command, but only command. Then command parser could have custom prefix, which would be ! by default.

Benefits from this would be that if you are running multiple instances of Simo in same channel, for example simobot and simobot-dev (contains next version of Simo). With this simobot would have prefix !, which is the default, and then simobot-dev could have !varjo, which will provide next level feature of same command, but which isn't yet released.

With this modification, feature developers doesn't need to think if they need to add !varjo in their command (I have noticed this method has been used in few features).

Configuration options could be for example environment variable, command line argument or configuration file. I have just read a small portion of the code considering this matter so I don't know which is in use and which should be used.

This should need just a little bit coding for the parser, cleaning the features and the largest part is the configuration part.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions