Initial commit

This commit is contained in:
Joan
2026-02-22 12:57:30 +01:00
parent 50eb4f7eca
commit c70999cc61
2 changed files with 64 additions and 0 deletions

26
.env.example Normal file
View File

@@ -0,0 +1,26 @@
# Telegram Bot token obtained from BotFather
BOT_TOKEN=your_bot_token_here
# The exact username/name of your Telegram bot
BOT_NAME=SorteitosBot
# Comma-separated list of Telegram User IDs for the administrators
ADMIN_IDS=123456789,987654321
# Comma-separated list of Telegram Channel IDs with an optional slash and identifier (e.g. -100xxxxxxxx/channel_name)
CHANNEL_IDS=-100123456789/vip,-100987654321/general
# The PayPal email address used for receiving payments
PAYPAL_EMAIL="your_paypal_email@example.com"
# The PayPal handle (e.g. PayPal.me/handle)
PAYPAL_HANDLE="your_paypal_handle"
# The Webhook URL to receive PayPal IPN or standard notifications
WEBHOOK_URL="https://your-domain.com/paypal-webhook"
# The URL for the Terms and Conditions (T&C) of the raffles
TYC_URL="https://telegra.ph/Your-Terms-And-Conditions-URL"
# New Relic API Key for application monitoring (optional)
NEWRELIC_API_KEY="your_newrelic_api_key_here"

38
.gitignore vendored Normal file
View File

@@ -0,0 +1,38 @@
# Environments
.env
# Data, Logs, and Reports
data/
*.db
*.db.bkp
*.sql
*.csv
*.txt
# Exclude standard text files that should be versioned if any (like requirements.txt, readme)
!requirements.txt
!README.txt
# Old directories
old/
old_app/
# Python caching
__pycache__/
*.py[cod]
*$py.class
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Virtual environments
.env/
.venv/
env/
venv/