Merge branch 'master' into reply_test
This commit is contained in:
commit
9cf948210b
1
main.py
1
main.py
@ -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>'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user