Files
pawhub-telegram-bot/config/config.py
T
2025-12-24 02:06:17 +01:00

41 lines
835 B
Python

import os
# -------------------------------------------#
# DO NOT TOUCH - will be adjusted on runtime #
# -------------------------------------------#
BASE_DIR = dir_path = os.path.dirname(os.path.realpath(__file__))
# TODO: Avoid Race Conditions on event file edits (file locks?)
# -------------------------------------------#
# Configuration Settings #
# -------------------------------------------#
# General
BOT_NAME = "PawHubBot"
# Logging
LOG_FOLDER_PATH = os.path.abspath(os.path.join(BASE_DIR, '..', 'logs'))
LOG_FILE_NAME = os.path.join(LOG_FOLDER_PATH, 'log.txt')
# Administration
ADMIN_IDS = [
1903773270, # SinusFox
5781850368, # Karatarus
30849386 # Goldwolf
]
# Chats
ALLOWED_CHAT_IDS = [0]
ALLOW_DMS = True
# Events
EVENTS_FOLDER = os.path.join(BASE_DIR, '..','events')