2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-17 21:25:37 +00:00
This commit is contained in:
quadrismegistus 2020-09-16 11:46:24 +01:00
parent 64edc9ec39
commit 83dd970870

View File

@ -199,7 +199,7 @@ class CLI(Logger):
status=res.get('status') status=res.get('status')
#msg = status if not res.get('success') else status+str(res) #msg = status if not res.get('success') else status+str(res)
if res.get('success'): if res.get('success'):
self.stat(f'I sent the following message to @{meet_name}:','',f'{res.get("msg_sent")}') self.stat(f'I sent the following message to @{name_or_pubkey}:\n\n"{res.get("msg_sent")}"')
else: else:
self.stat(status) self.stat(status)
@ -265,7 +265,7 @@ class CLI(Logger):
self.print('@Operator: Returning the invitation ...') self.print('@Operator: Returning the invitation ...')
res = self.komrade.meet(meet_name,returning=True) res = self.komrade.meet(meet_name,returning=True)
if res.get('success'): if res.get('success'):
self.stat(f'I sent the following message to @{meet_name}:','',f'{res.get("msg_sent")}') self.stat(f'I sent the following message to @{meet_name}:\n\n"{res.get("msg_sent")}"')
else: else:
self.stat(msg.get('status')) self.stat(msg.get('status'))