Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
telegram_bot_antispammer
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
Иванова Мария Кирилловна
telegram_bot_antispammer
Commits
b61a734d
Commit
b61a734d
authored
Nov 14, 2025
by
Ivan Mazhukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix / command's description
parent
f321e8f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bot.py
bot.py
+2
-2
No files found.
bot.py
View file @
b61a734d
...
@@ -597,9 +597,9 @@ async def main():
...
@@ -597,9 +597,9 @@ async def main():
"""Запуск бота."""
"""Запуск бота."""
logger
.
info
(
"bot is running"
)
logger
.
info
(
"bot is running"
)
await
bot
.
set_my_commands
([
await
bot
.
set_my_commands
([
BotCommand
(
command
=
"/spam"
,
description
=
"Оповестить о спаме
уполномоченных людей
"
),
BotCommand
(
command
=
"/spam"
,
description
=
"Оповестить о спаме
модераторов
"
),
BotCommand
(
command
=
"/unban"
,
description
=
"Разбанить пользователя (доступно модераторам)"
),
BotCommand
(
command
=
"/unban"
,
description
=
"Разбанить пользователя (доступно модераторам)"
),
BotCommand
(
command
=
"/ban"
,
description
=
"
Раз
банить пользователя (доступно модераторам)"
)
BotCommand
(
command
=
"/ban"
,
description
=
"
За
банить пользователя (доступно модераторам)"
)
])
])
await
dp
.
start_polling
(
bot
)
await
dp
.
start_polling
(
bot
)
...
...
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