diff --git a/.idea/markdown-exported-files.xml b/.idea/markdown-exported-files.xml new file mode 100644 index 0000000..5d1f129 --- /dev/null +++ b/.idea/markdown-exported-files.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/main.py b/main.py index e100f2b..668df4f 100755 --- a/main.py +++ b/main.py @@ -143,8 +143,7 @@ def _sign_text(text, m: Message, limit): sign = '' if text.startswith('!sign') or text.startswith('/sign'): text = text[5:] - sign = f'\n\n____________\n' \ - f'by {escape(m.from_user.full_name)}' + sign = f'\n\n — {escape(m.from_user.full_name)}' return text[:limit - len(sign)] + sign