Report LinksWe do not store any files or images on our server. XenPaste only index and link to content provided by other non-affiliated sites. If your copyrighted material has been posted on XenPaste or if hyperlinks to your copyrighted material are returned through our search engine and you want this material removed, you must contact the owners of such sites where the files and images are stored.
import os
import discord
import requests
from bs4 import BeautifulSoup
import asyncio
client = discord.Client()
#If using pycharm change line
# Change this:
# await message.channel.send(file=discord.File(rf'C:\Users\Woody\Desktop\b\{query}.txt'))
# to where the directory of this script is running.
@client.event
async def on_ready():
await client.change_presence( activity=discord.Activity( type=discord.ActivityType.listening, name=".search :" ) )
print( "\033[35mBot Now Running" )
print( r"""
Detective Mike bot // Leaked Database Lookup (Free API) By Prevent [Powered by Scyllla.sh]
._ o o
\_`-)|_
,"" \
," ## | X X.
," ## ,-\__ `.
," / `--._;)
," ## / .==============.
," ## / <-|W~~DY-W~S-H~R~|->
============== '=============='
""" )
await message.channel.send(file=discord.File(rf'C:\Users\Woody\Desktop\b\{query}.txt'))
os.remove( f"{query}.txt" )
except(IndexError) as err:
embed = discord.Embed(
title='Detective Mike at your service!',
description='*** .search email:querygoeshere***',
colour=discord.Colour.purple()