sysuser
PREMİUM
- Katılım
- 9 Kas 2025
- Mesajlar
- 174
- Tepki puanı
- 4
- Cinsiyet
- Kadın
Merhaba arkadaşlar telegram da otomatik mesaj göndermeniz için size termux kodu veriyorum
Termux'u indirip sırasıyla şu komutları girin:
Bot Kodu:
Termux'u indirip sırasıyla şu komutları girin:
- pkg update && pkg upgrade
- pkg install python
- pip install telethon
- nano bot.py (Açılan ekrana aşağıdaki kodu yapıştırıp CTRL+O, Enter, CTRL+X yapın.)
Bot Kodu:
Python:
import os
import time
import sys
from telethon.sync import TelegramClient
from telethon.errors import SessionPasswordNeededError
from colorama import Fore, Style, init
init(autoreset=True)
# --- API BİLGİLERİNİZİ BURAYA GİRİN ---
API_ID = 'BURAYA_API_ID'
API_HASH = 'BURAYA_API_HASH'
# -------------------------------------
def WmYonetici_Arayuz():
os.system('clear')
banner = f"""
{Fore.RED}###############################################
{Fore.YELLOW}# [ WmYonetici v1.0 ] #
{Fore.WHITE}# Telegram Otomasyon & Mesaj Paneli #
{Fore.RED}###############################################
"""
print(banner)
async def WmYonetici_Baslat():
client = TelegramClient('wmyonetici_session', API_ID, API_HASH)
await client.connect()
if not await client.is_user_authorized():
WmYonetici_Arayuz()
print(Fore.CYAN + "[!] WmYonetici: İlk Kez Giriş Yapılıyor...")
phone = input(Fore.WHITE + "Telefon Numaranız (+90...): ")
await client.send_code_request(phone)
try:
await client.sign_in(phone, input(Fore.WHITE + "Telegram'dan Gelen Kod: "))
except SessionPasswordNeededError:
print(Fore.RED + "[!] 2FA Şifresi Gerekiyor!")
await client.sign_in(password=input(Fore.WHITE + "2FA Şifrenizi Girin: "))
WmYonetici_Arayuz()
print(Fore.GREEN + "[+] WmYonetici: BAĞLANTI AKTİF\n")
hedef_input = input(Fore.YELLOW + "Hedef Gruplar (Virgül ile ayırın): ")
gruplar = [g.strip() for g in hedef_input.split(',')]
mesaj_metni = input(Fore.YELLOW + "Gönderilecek Mesaj: ")
bekleme_suresi = int(input(Fore.YELLOW + "Döngü Saniyesi (Örn: 120): "))
print(Fore.WHITE + "\n[*] İşlem Başlatıldı. Durdurmak için CTRL+C yapın.\n")
while True:
for grup in gruplar:
try:
await client.send_message(grup, mesaj_metni)
print(Fore.GREEN + f"[BAŞARILI] -> {grup}")
except Exception as e:
print(Fore.RED + f"[HATA] -> {grup}: {str(e)[:30]}")
time.sleep(3) # Gruplar arası spam önleyici bekleme
print(Fore.BLUE + f"\n[BEKLENİYOR] {bekleme_suresi} saniye sonra tekrar dönecek...")
time.sleep(bekleme_suresi)
if __name__ == "__main__":
import asyncio
try:
asyncio.run(WmYonetici_Baslat())
except KeyboardInterrupt:
print(Fore.RED + "\n[!] WmYonetici Kapatıldı.")
sys.exit()