log url of posted replies
This commit is contained in:
parent
e8b225df6a
commit
668ed5e96a
|
@ -225,8 +225,8 @@ async def listen(c, me):
|
||||||
reply_text = f'{status_author} Sorry! You broke me somehow. Please let Holly know what you did!'
|
reply_text = f'{status_author} Sorry! You broke me somehow. Please let Holly know what you did!'
|
||||||
|
|
||||||
log('Sending reply...')
|
log('Sending reply...')
|
||||||
await c.create_status(status=reply_text, media_ids=media_ids, in_reply_to_id=status_id, visibility=reply_visibility)
|
reply = await c.create_status(status=reply_text, media_ids=media_ids, in_reply_to_id=status_id, visibility=reply_visibility)
|
||||||
log('Reply sent!')
|
log(f'Reply sent! {reply["uri"]}')
|
||||||
|
|
||||||
# https://stackoverflow.com/a/55505152/2114129
|
# https://stackoverflow.com/a/55505152/2114129
|
||||||
async def repeat(interval, func, *args, **kwargs):
|
async def repeat(interval, func, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue