mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-17 21:25:37 +00:00
updates
This commit is contained in:
parent
64edc9ec39
commit
83dd970870
@ -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'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user