Skip to content

Improve error messages for /cfunction #759

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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