Skip to content

search message shows %s when no chest is near #33

@taupemoi

Description

@taupemoi

When no chest is near, the search error message is incorrect, for example:

search bone
returns
Could not find any chests containing %s

If a chest (without bone) is nearby, it correctly returns:
Could not find any chests containing BONE.

Relatedly, if it's not too complicated, adding a separate error message when there are no chests at all (There are no chests within radius ...) could be more informative for the user.

Finally, since search uses the same default radius as all other commands, the documentation should maybe add that one can override that radius by specifying it as a 3rd argument, e.g. search bone [RADIUS]. Maybe having a user command to change the default radius on a per-user base could be useful as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions