Skip to content

"check" command returns incomplete results when search term matches usernames #26

@RiverCrimea

Description

@RiverCrimea

When using the command bot check [searchString], the command will behave normally only if searchString does not exist within any usernames.

Example: bot check gold SHOULD return:

  1. a list of users with Gold in their inventories, with a total.
  2. a list of users with Gold Bar in their inventories, with a total.
  3. the complete inventories of all users with the pattern "gold" in their usernames (not case-sensitive).

If no users meeting criterion #3 exist, then the command returns #1 and #2, as expected.
If any such users exist, the output omits #1 and #2. Only #3 appears.

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