From a8582c60e3bed5b93c989e2963d40130771cf11d Mon Sep 17 00:00:00 2001 From: Igor <50257429+igorechek06@users.noreply.github.com> Date: Sat, 28 Aug 2021 21:10:16 +0900 Subject: 0.0.1 --- shared/__init__.py | 0 shared/commands.py | 7 +++++++ shared/config.sample.py | 3 +++ shared/instances.py | 5 +++++ 4 files changed, 15 insertions(+) create mode 100644 shared/__init__.py create mode 100644 shared/commands.py create mode 100644 shared/config.sample.py create mode 100644 shared/instances.py (limited to 'shared') diff --git a/shared/__init__.py b/shared/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/shared/commands.py b/shared/commands.py new file mode 100644 index 0000000..ffed9c3 --- /dev/null +++ b/shared/commands.py @@ -0,0 +1,7 @@ +from aiogram.types import BotCommand as cmd, BotCommandScopeAllGroupChats as group + +commands = { + group(): [ + cmd('gen', 'жидко пукнуть') + ] +} diff --git a/shared/config.sample.py b/shared/config.sample.py new file mode 100644 index 0000000..f4a3f09 --- /dev/null +++ b/shared/config.sample.py @@ -0,0 +1,3 @@ +TOKEN = "" +test_token = "{test_token}" +main_token = "{main_token}" diff --git a/shared/instances.py b/shared/instances.py new file mode 100644 index 0000000..7eb883c --- /dev/null +++ b/shared/instances.py @@ -0,0 +1,5 @@ +from aiogram import Bot, Dispatcher +from .config import TOKEN + +bot = Bot(token=TOKEN) +dp = Dispatcher(bot) -- cgit v1.2.3