Skip to content

Improve error messages for /cfunction #759

@Earthcomputer

Description

@Earthcomputer

Currently, if the user makes a mistake in their function file, such as by adding a slash before the function name, like so:

/csnap ~0.5 ~ ~

Then clientcommands reports "unknown or incomplete command" on the /cfunction command in chat itself:

Image

This is very misleading for users and a better error message should be created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions