Add prefix for automatic trade notifications

This commit is contained in:
Mark Veidemanis 2021-12-27 22:00:02 +00:00
parent 5c75dfeeee
commit aa8041e190
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class Agora(object):
if not contact["data"]["is_selling"]: if not contact["data"]["is_selling"]:
continue continue
if contact_id not in self.last_dash: if contact_id not in self.last_dash:
self.irc.client.msg(self.irc.client.channel, f"{contact_id}: {buyer} {amount}{currency} {amount_xmr}XMR") self.irc.client.msg(self.irc.client.channel, f"AUTO {contact_id}: {buyer} {amount}{currency} {amount_xmr}XMR")
dash_tmp.append(f"{contact_id}: {buyer} {amount}{currency} {amount_xmr}XMR") dash_tmp.append(f"{contact_id}: {buyer} {amount}{currency} {amount_xmr}XMR")
self.last_dash.add(contact_id) self.last_dash.add(contact_id)