migrated all pawprint work

This commit is contained in:
buenosairesam
2025-12-31 08:34:18 -03:00
parent fc63e9010c
commit 680969ca42
63 changed files with 4687 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
"""
Slack credentials loaded from .env file.
"""
from pathlib import Path
from pydantic_settings import BaseSettings
ENV_FILE = Path(__file__).parent.parent / ".env"
class SlackConfig(BaseSettings):
slack_bot_token: str | None = None # xoxb-... Bot token
slack_user_token: str | None = None # xoxp-... User token (optional, for user-level actions)
api_port: int = 8002
model_config = {
"env_file": ENV_FILE,
"env_file_encoding": "utf-8",
}
settings = SlackConfig()