From c70999cc61e80e9fc268e51c56231938aaea114f Mon Sep 17 00:00:00 2001 From: Joan Date: Sun, 22 Feb 2026 12:57:30 +0100 Subject: [PATCH] Initial commit --- .env.example | 26 ++++++++++++++++++++++++++ .gitignore | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .env.example create mode 100644 .gitignore diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ca1a9bd --- /dev/null +++ b/.env.example @@ -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" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d74bfd --- /dev/null +++ b/.gitignore @@ -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/