Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- import discord
- import asyncio
- import requests as req
- from io import BytesIO
- from PIL import Image, ImageDraw, ImageOps
- client = discord.Client()
- @client.event
- async def on_ready():
- print('BOT ONLINE, hcN*DWaN5(G)DVbMw*vr')
- print(client.user.name)
- print(client.user.id)
- print('------------')
- client.loop.create_task(status_task())
- await asyncio.sleep(10)
- async def status_task():
- while True:
- await client.change_presence(game=discord.Game(name="?help", type=1))
- await asyncio.sleep(10)
- await client.change_presence(game=discord.Game(name="SS'ing Cheaters.", type=1))
- await asyncio.sleep(10)
- await client.change_presence(game=discord.Game(name="Vape best ghost client!!!11", type=1))
- await asyncio.sleep(10)
- await client.change_presence(game=discord.Game(name="Drip best ghost client!!!11", type=1))
- await asyncio.sleep(5)
- await client.change_presence(game=discord.Game(name="Demon best ghost client!!!11", type=1))
- await asyncio.sleep(5)
- await client.change_presence(game=discord.Game(name="?help", type=1))
- await asyncio.sleep(10)
- await client.change_presence(game=discord.Game(name="SS'ing Cheaters.", type=1))
- await asyncio.sleep(10)
- await client.change_presence(game=discord.Game(name="Vape best ghost client!!!11", type=1))
- await asyncio.sleep(5)
- await client.change_presence(game=discord.Game(name="Drip best ghost client!!!11", type=1))
- await asyncio.sleep(5)
- await client.change_presence(game=discord.Game(name="Demon best ghost client!!!11", type=1))
- await asyncio.sleep(5)
- @client.event
- async def on_message(message):
- if message.content.lower().startswith('?pin'):
- if "493270492468215810" in [role.id for role in
- message.author.roles]:
- resp = req.get("http://144.217.10.177/do/not/touch/misc/newpin42384832hgdfhu.php")
- embed1 = discord.Embed(title='Pin \n', color=discord.Colour.red(), description='\n{}'.format(message.author.mention))
- code = embed1.add_field(name='Your code is:', value=resp.text)
- await client.send_message(client.get_channel('493241049892913191'), embed=embed1)
- await asyncio.sleep(30)
- await client.delete_message(message)
- await client.delete_message(code)
- else:
- codeperm = await client.send_message(message.channel,
- message.author.mention + ", You do not have permission.")
- await asyncio.sleep(30)
- await client.delete_message(message)
- await client.delete_message(codeperm)
- if message.content.lower().startswith('?download'):
- if "493270492468215810" in [role.id for role in
- message.author.roles]:
- embeddwl = discord.Embed(title='<a:downloadgif:493857907427901448> Download ', color=discord.Colour.red(), description='\n{}'.format(message.author.mention))
- code = embeddwl.add_field(name='Download here: ', value='Coming soon.')
- download =await client.send_message(client.get_channel('493241049892913191'), embed=embeddwl)
- await asyncio.sleep(30)
- await client.delete_message(message)
- await client.delete_message(download)
- else:
- downloadperm = await client.send_message(message.channel,
- message.author.mention + ", You do not have permission.")
- await asyncio.sleep(30)
- await client.delete_message(message)
- await client.delete_message(downloadperm)
- if message.content.lower().startswith('?help'):
- embed = discord.Embed(title="Help", color=0x8b0000)
- embed.add_field(name='?pin', value='Gets your access code. \n(Only clients have permission)')
- embed.add_field(name='?download', value='Gets the download link. \n(Only clients have permission)')
- await client.send_message(message.channel, embed=embed)
- if message.content.lower().startswith("?cc"):
- if message.author.server_permissions.administrator:
- mgs = []
- async for x in client.logs_from(message.channel, limit = 50):
- mgs.append(x)
- await client.delete_message(x)
- else:
- pass
- @client.event
- async def on_reaction_add(reaction, user):
- roleChannelId = '493289896144797697'
- guestrole = discord.utils.get(user.server.roles, id="494303240935047188")
- if reaction.message.channel.id != roleChannelId:
- return
- if reaction.emoji == 'ð゚ムヘ':
- memberrole = discord.utils.get(user.server.roles, id="493246223168569344")
- await client.add_roles(user, memberrole)
- await asyncio.sleep(2)
- await client.remove_roles(user, guestrole)
- @client.event
- async def on_member_join(member):
- role = discord.utils.get(member.server.roles, id="494303240935047188")
- await client.add_roles(member, role)
- channel = client.get_channel("493271358101520388")
- url = req.get(member.avatar_url)
- avatar = Image.open(BytesIO(url.content))
- avatar = avatar.resize((130, 130));
- bigsize = (avatar.size[0] * 3, avatar.size[1] * 3)
- mask = Image.new('L', bigsize, 0)
- draw = ImageDraw.Draw(mask)
- draw.ellipse((0, 0) + bigsize, fill=255)
- mask = mask.resize(avatar.size, Image.ANTIALIAS)
- avatar.putalpha(mask)
- output = ImageOps.fit(avatar, mask.size, centering=(0.5, 0.5))
- output.putalpha(mask)
- output.save('avatar.png')
- avatar = Image.open('avatar.png')
- fundo = Image.open('bemvindo.png')
- fundo.paste(avatar, (40, 90), avatar)
- fundo.save('bv.png')
- await client.send_file(client.get_channel('493271358101520388'), 'avatar.png')
- await client.send_message(client.get_channel('493271358101520388'), member.mention + ', Welcome to Eyeᄚ - Screenshare Tool. check the '+client.get_channel('494297700221845514').mention + ' channel.')
- await client.send_message(client.get_channel('493289896144797697'), member.mention)
- embed = discord.Embed(title="<a:Bellzao:493844563622887426> Eyeᄚ - Verification", color=0x8b0000)
- embed.add_field(name='Click on the emoji below to validate your role.', value='Check the #about-us channel.')
- k = await client.send_message(client.get_channel('493289896144797697'), embed=embed)
- await client.add_reaction(k, emoji='ð゚ムヘ')
- await client.wait_for_reaction(['ð゚ムヘ'], message=k)
- @client.event
- async def on_member_remove(member):
- canal = client.get_channel("493271358101520388")
- msg = "{} has left/been kicked from the server.".format(member.mention)
- await client.send_message(canal, msg)
- client.run("NDkzMjQxNjc3MjU2MDY1MDM0.DoiGrQ.UeEJ7JyZY8-qzhY9kRd3SrVk0VI")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement