diff --git a/plugins/tildewash.py b/plugins/tildewash.py index 15b9d84..03f5150 100644 --- a/plugins/tildewash.py +++ b/plugins/tildewash.py @@ -61,7 +61,7 @@ def cleanwash_return_before(msg): balance = Decimal(subprocess.check_output(['/home/jmjl/bin/coin','Ju','internal_balance',nick],universal_newlines=True)) if not amount_to_return: amount_to_return = balance if amount_to_return > balance: return pinhook.plugin.message(f"{msg.nick}: Error, {amount_to_return} is more than what you have with us. (You have {balance}TCN returnable with us)") - sentproc = subprocess.run(['/home/jmjl/bin/coin','Ju','send',nick,str(amount_to_return.quantize(Decimal('.00'),rounding=ROUND_DOWN))],capture_output=True,text=True) + sentproc = subprocess.run(['/home/jmjl/bin/coin','Ju','send',nick,str(amount_to_return.quantize(Decimal('.00'),rounding=ROUND_DOWN)),f"Requested by {msg.nick} at {__import__('time').time()}"],capture_output=True,text=True) if sentproc.returncode == 0: return pinhook.plugin.message(f"{msg.nick}: Succesfully sent {amount_to_return}TCN back") else: err_id = str(uuid.uuid4())