Opened 6 years ago

Closed 5 years ago

#865 closed defect (fixed)

TWBD !remove tries to remove a player twice

Reported by: Shaddowknight Owned by: Trancid
Priority: normal Milestone: milestone:
Component: Bots - TWD/TWL Version: Latest version from repository
Severity: trivial Keywords:
Cc:

Description

Sir Shaddo> !remove sir

MatchBot5> Player removed from the game
MatchBot5> Player not found

Fairly trivial, but would look better if the message wasn't displayed twice.

Change History (3)

comment:1 Changed 5 years ago by Trancid

  • Owner set to Trancid
  • Status changed from new to accepted

comment:2 Changed 5 years ago by Trancid

There was no check in place to see if the player was actually removed or not found. Committed a fix for it to the repository.

comment:3 Changed 5 years ago by Trancid

  • Resolution set to fixed
  • Status changed from accepted to closed

According to users of the command, it currently only displays one (correct) message. Tagging the ticket as fixed.

Note: See TracTickets for help on using tickets.