Merge branch 'master' into reply_test

This commit is contained in:
bakatrouble 2019-03-16 11:25:42 +03:00
commit 9cf948210b

View File

@ -141,6 +141,7 @@ def _sign_text(text, m: Message, limit):
sign = '' sign = ''
if text.startswith('!sign') or text.startswith('/sign'): if text.startswith('!sign') or text.startswith('/sign'):
text = text[5:]
sign = f'\n\n____________\n' \ sign = f'\n\n____________\n' \
f'by <a href="tg://user?id={m.from_user.id}">{escape(m.from_user.full_name)}</a>' f'by <a href="tg://user?id={m.from_user.id}">{escape(m.from_user.full_name)}</a>'