import discord # Discord'u import ediyoruz. from discord.ext import commands # Discord komut eklentisini import ediyoruz. import os import time TOKEN = "MTA4MjcwNDk4MjU4NDg1NjczNg.G67Fpk.g6gUpHicyj9bKMMs1lis-exWUWr-kQES6ueLOg" gif = "https://media.tenor.com/DxspgxnHCLYAAAAM/sherlock-benedict.gif" intents = discord.Intents.all() client = discord.Client(intents=intents) @client.event async def onready(): activity = discord.Activity(type=discord.ActivityType.playing, name="discord:philosopher*#1000") await client.change_presence(activity=activity) @client.event async def on_message(message): if message.author == client.user: return if len(message.content.split(" ")) == 2 and message.content.split(" ")[0] == "*username": username = message.content.split(" ")[1] embed=discord.Embed(title="SherlockOSINT @philosopher*#1000", description=(f"**{username}** Kullanıcı Adını Tarıyorum 🔍 .. "), color=0x001eff) embed.set_thumbnail(url=gif) await message.channel.send(embed=embed) output = os.popen(f'python3 sherlock {username} --timeout 1').read() await message.channel.send(f'```{output}```') embed2 = discord.Embed(title="SherlockOSINT @philosopher*#1000", description=(f"**{username}** İçin Bulduğum Sonuçlar 🔍: "), color=0x001eff) embed2.set_thumbnail(url="https://media.tenor.com/ul6oOueLkvUAAAAd/sherlock-sherlock-holmes.gif") await message.channel.send(embed=embed2) await message.channel.send(f'Sonuçlar hazır , 10 dakika sonra kendiliğinden silinecektir. Lütfen buraya bak!\n{message.author.mention}') elif message.content == '*help': await message.channel.send(f"Kullanıcı araştırmak için aşağıdaki komutu kullanın.\n```*username philosopher*#1000```\n*username (kullanıcı_adı)\n{message.author.mention}") elif message.content.split(" ")[1] == 'philosopher' or 'philosopher*': await message.channel.send('Bu önemli şahsiyet hakkında bilgi toplamak istemiyorum. Lütfen başka bir kullanıcı adı dene.') else: await message.channel.send(f"Geçerli komut yazınız!\nYardım için ' *help ' yazınız.\n{message.author.mention}") client.run("MTA4MjcwNDk4MjU4NDg1NjczNg.G67Fpk.g6gUpHicyj9bKMMs1lis-exWUWr-kQES6ueLOg")