This commit is contained in:
bakatrouble 2019-04-01 14:14:27 +03:00
parent c064d7ab2f
commit 4ba890277e

View File

@ -147,7 +147,7 @@ def _sign_text(text, m: Message, limit):
# sign = f'\n\n____________\n' \
# f'by <a href="tg://user?id={m.from_user.id}">{escape(m.from_user.full_name)}</a>'
subs = conn.root.subscribers
random_user = subs[random.choice(subs.keys())]
random_user = subs[random.choice(list(subs.keys()))]
sign = f'\n\n____________\n' \
f'by <a href="https://telegra.ph/C-pervym-aprelya-04-01">{escape(random_user.name)}</a>'