fix signs
This commit is contained in:
parent
53a6dc6d7e
commit
c12c8ccf56
1
main.py
1
main.py
@ -126,6 +126,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