Skip to content

Raid with unmatched name displays name twice in message #5

@sburbol

Description

@sburbol

interpretPoke tries to match on the Pokemon name, but if it does not have high enough confidence, it set the ID of the Pokemon to the name of the Pokemon. When displayed as a new raid, #<ID> <Name> shows as #<Name> <Name>

Suggestion:

  1. Either use a some other string as an unmatched ID, such as -1
  2. When displaying the message, check if the ID makes sense and skip it if it is unclear

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