fixed double prompt issue

This commit is contained in:
esef committed 2026-06-30 12:22:04 +03:00
1 parent c34e07205e
commit 0f197addb0
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ intents.members = True
bot = commands.Bot(command_prefix='!', intents=intents, help_command=None)
# Telegram → Discord
forwarder = TelegramForwarder(token=os.getenv('TELEGRAM_BOT_TOKEN'))
if os.getenv('TELEGRAM_GROUP_ID') and os.getenv('DISCORD_WEBHOOK_URL'):
forwarder.add_route(int(os.getenv('TELEGRAM_GROUP_ID')), os.getenv('DISCORD_WEBHOOK_URL'))