init commit

This commit is contained in:
2025-09-12 21:25:54 +09:00
commit 17efb2fb53
37 changed files with 12637 additions and 0 deletions

31
test-bot.ts Normal file
View File

@@ -0,0 +1,31 @@
import { TelegramTinderBot } from './src/bot';
/**
* Simple test to verify bot functionality
* Make sure to set up your .env file with proper TELEGRAM_BOT_TOKEN before running
*/
async function testBot() {
console.log('🤖 Starting Telegram Tinder Bot Test...');
try {
// Initialize bot
const bot = new TelegramTinderBot();
console.log('✅ Bot initialized successfully');
console.log('📱 Bot is ready to receive messages');
console.log('💬 Send /start to your bot in Telegram to begin');
// Note: In a real scenario, you would start the bot here
// await bot.start();
} catch (error) {
console.error('❌ Bot initialization failed:', error);
process.exit(1);
}
}
// Run test if this file is executed directly
if (require.main === module) {
testBot();
}