🤖 Bot Configuration Test


1. Configuration Test

✅ Config loaded successfully
📡 Bot Token: 8232335580:AAETfIwtF...
📁 Data Dir: /home/warempir/public_html/waremp/Data/
🏠 Base Dir: /home/warempir/public_html/waremp

2. Files Existence Test

✅ config.php exists
✅ functions.php exists
✅ bot.php exists
✅ country_select.php exists
✅ construction.php exists
✅ war.php exists
✅ shop.php exists
✅ prize.php exists
✅ Data/countries.json exists
✅ weapons/weapons.php exists
✅ weapons/missile.php exists
✅ weapons/fighter_jets.php exists
✅ weapons/soldiers.php exists
✅ weapons/submarines.php exists
✅ weapons/defense_systems.php exists
✅ weapons/drone_system.php exists
✅ weapons/navy_system.php exists
✅ weapons/bomber_system.php exists

3. Weapons Directory Test

✅ Weapons directory exists
✅ weapons/missile.php exists
✅ weapons/fighter_jets.php exists
✅ weapons/soldiers.php exists
✅ weapons/submarines.php exists
✅ weapons/defense_systems.php exists
✅ weapons/drone_system.php exists
✅ weapons/navy_system.php exists
✅ weapons/bomber_system.php exists
✅ weapons/weapons.php exists

4. Permissions Test

✅ Data directory exists
✅ Data directory is writable

5. Telegram API Test

✅ API connection successful
🤖 Bot name: ⚔️ امپراتور جنگ ها ⚔️
👤 Username: @Emperatorwar_Bot

6. Webhook URL Test

🌐 Expected webhook URL: https://waremp.ir/waremp/bot.php
✅ Bot URL responds with HTTP 200
📄 Response: Bot is running!

7. PHP Environment Test

🐘 PHP Version: 7.2.34
✅ curl extension loaded
✅ json extension loaded
✅ mbstring extension loaded

✨ Test completed!

💡 If you see any ❌ errors, fix them before setting up webhook.

🔧 Next step: Setup Webhook