fix
This commit is contained in:
parent
c064d7ab2f
commit
4ba890277e
2
main.py
2
main.py
@ -147,7 +147,7 @@ def _sign_text(text, m: Message, limit):
|
|||||||
# 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>'
|
||||||
subs = conn.root.subscribers
|
subs = conn.root.subscribers
|
||||||
random_user = subs[random.choice(subs.keys())]
|
random_user = subs[random.choice(list(subs.keys()))]
|
||||||
sign = f'\n\n____________\n' \
|
sign = f'\n\n____________\n' \
|
||||||
f'by <a href="https://telegra.ph/C-pervym-aprelya-04-01">{escape(random_user.name)}</a>'
|
f'by <a href="https://telegra.ph/C-pervym-aprelya-04-01">{escape(random_user.name)}</a>'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user