aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorIgor <50257429+igorechek06@users.noreply.github.com>2021-08-28 21:10:16 +0900
committerIgor <50257429+igorechek06@users.noreply.github.com>2021-08-28 21:10:16 +0900
commita8582c60e3bed5b93c989e2963d40130771cf11d (patch)
tree747f2cfe1a8a8f003cba81d92ebe3822b4adc419 /shared
parent2efa35c42be7ac554e3519b8673f7cad8c966e64 (diff)
downloadkarpov_ai_bot-a8582c60e3bed5b93c989e2963d40130771cf11d.tar.gz
karpov_ai_bot-a8582c60e3bed5b93c989e2963d40130771cf11d.zip
0.0.1
Diffstat (limited to 'shared')
-rw-r--r--shared/__init__.py0
-rw-r--r--shared/commands.py7
-rw-r--r--shared/config.sample.py3
-rw-r--r--shared/instances.py5
4 files changed, 15 insertions, 0 deletions
diff --git a/shared/__init__.py b/shared/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/shared/__init__.py
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 @@
1from aiogram.types import BotCommand as cmd, BotCommandScopeAllGroupChats as group
2
3commands = {
4 group(): [
5 cmd('gen', 'жидко пукнуть')
6 ]
7}
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 @@
1TOKEN = ""
2test_token = "{test_token}"
3main_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 @@
1from aiogram import Bot, Dispatcher
2from .config import TOKEN
3
4bot = Bot(token=TOKEN)
5dp = Dispatcher(bot)