Merge branch 'name_fix' into 'master'

Fix / command's description See merge request !4
parents 9a1fc3e3 b61a734d
...@@ -625,7 +625,7 @@ async def main(): ...@@ -625,7 +625,7 @@ 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="Забанить пользователя (доступно модераторам)")
]) ])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment