use self.output in command processor
This commit is contained in:
parent
1caf4e563d
commit
9b4a87a467
|
@ -702,10 +702,10 @@ class ClientMessageProcessor(CommandProcessor):
|
||||||
notify_hints(self.ctx, self.client.team, list(new_hints))
|
notify_hints(self.ctx, self.client.team, list(new_hints))
|
||||||
save(self.ctx)
|
save(self.ctx)
|
||||||
else:
|
else:
|
||||||
notify_client(self.client, f"You can't afford the hint. "
|
self.output(f"You can't afford the hint. "
|
||||||
f"You have {points_available} points and need at least "
|
f"You have {points_available} points and need at least "
|
||||||
f"{self.ctx.hint_cost}, "
|
f"{self.ctx.hint_cost}, "
|
||||||
f"more if multiple items are still to be found.")
|
f"more if multiple items are still to be found.")
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
self.output("Nothing found. Item/Location may not exist.")
|
self.output("Nothing found. Item/Location may not exist.")
|
||||||
|
|
Loading…
Reference in New Issue