From 1f8b8b67b81c5ae86980d9129f3a88db61165698 Mon Sep 17 00:00:00 2001 From: Igor <50257429+igorechek06@users.noreply.github.com> Date: Fri, 15 Oct 2021 14:07:38 +0900 Subject: Фотки в gif для абьюз телеграм MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/commands.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'shared/commands.py') diff --git a/shared/commands.py b/shared/commands.py index 3f2e3b1..34f9dbb 100644 --- a/shared/commands.py +++ b/shared/commands.py @@ -1,10 +1,17 @@ -from aiogram.types import BotCommand as cmd, BotCommandScopeAllGroupChats as group +from aiogram.types import \ + BotCommand as cmd, \ + BotCommandScopeAllGroupChats as group, \ + BotCommandScopeAllPrivateChats as private commands = { group(): [ cmd('gen', 'Высрвть текст'), cmd('del', 'Смыть говно'), cmd('pin', 'Повесить говно на стенку'), - cmd('chance', 'Установить шанс высирания говна'), + cmd('gif', 'Превратить картинку в gif'), + cmd('chance', 'Установить шанс высирания говна') + ], + private(): [ + cmd('gif', 'Превратить картинку в gif') ] } -- cgit v1.2.3