1
0
Fork 0
mirror of https://github.com/EDeev/vkrepost_to_tg.git synced 2026-10-07 20:49:50 +03:00
vkrepost_to_tg/code/config.py
Egor Deev 490ea8b5d6 Версия на aiogram 3 — та, что работала на сервере
В репозитории оставался код на aiogram 2. На сервере с апреля–сентября 2024 работала
переписанная версия: aiogram 3, разметка HTML вместо Markdown, код разделён на bot.py /
handlers.py / init.py. Переводы строк приведены к LF.
2026-10-05 19:47:59 +00:00

14 lines
479 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# TOKENS
botToken = '**********'
serviceToken = "**********"
# URL
loginUrl = "************"
checkUrl = "https://oauth.vk.com/blank.html#access_token="
# VARIABILITY
unvote = {True: 'без возможности переголосовать', False: 'с возможностью переголосовать'}
anonymous = {True: 'анонимный опрос', False: 'не анонимный опрос'}
# DATA
data = {0: 'Б', 1: 'КБ', 2: 'МБ', 3: 'ГБ', 4: 'ТБ'}