use self.output in command processor

This commit is contained in:
Fabian Dill 2020-05-14 07:12:20 +02:00
parent 1caf4e563d
commit 9b4a87a467
1 changed files with 4 additions and 4 deletions

View File

@ -702,10 +702,10 @@ class ClientMessageProcessor(CommandProcessor):
notify_hints(self.ctx, self.client.team, list(new_hints))
save(self.ctx)
else:
notify_client(self.client, f"You can't afford the hint. "
f"You have {points_available} points and need at least "
f"{self.ctx.hint_cost}, "
f"more if multiple items are still to be found.")
self.output(f"You can't afford the hint. "
f"You have {points_available} points and need at least "
f"{self.ctx.hint_cost}, "
f"more if multiple items are still to be found.")
return True
else:
self.output("Nothing found. Item/Location may not exist.")