Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
altlinux-packages-bot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Unitsaev
altlinux-packages-bot
Commits
c066010e
Verified
Commit
c066010e
authored
Jul 20, 2025
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin: update format
parent
182266db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
admin.py
src/handlers/admin.py
+4
-4
No files found.
src/handlers/admin.py
View file @
c066010e
...
...
@@ -27,10 +27,10 @@ async def alrtrepo_users(m: Message, user_id: int):
db_user
=
DB
.
user
.
get
(
user_id
)
user
=
(
await
tg_api
.
get_chat
(
chat_id
=
user_id
))
.
unwrap
()
username
=
user
.
username
.
unwrap_or_none
()
username
=
f
"(@{username})
\n
"
if
username
else
"
\n
"
await
m
.
answer
(
f
"{user.first_name.unwrap()} {user.last_name.unwrap()}"
f
" (@{username})
\n
"
if
username
else
"
\n
"
f
"Сопровождающий: {db_user.maintainer}
\n
"
f
"Репозиторий: {db_user.default_branch}
\n
"
f
"{user.first_name.unwrap()} {user.last_name.unwrap()} {username}"
f
" Сопровождающий: {db_user.maintainer}
\n
"
f
" Репозиторий: {db_user.default_branch}
\n
"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment