-
Notifications
You must be signed in to change notification settings - Fork 0
/
G.py
3496 lines (3184 loc) · 151 KB
/
G.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
class SELFBOT():
__linecount__ = 3451
__version__ = 3.7
import discord, subprocess, sys, time, os, colorama, base64, codecs, datetime, io, random, numpy, datetime, smtplib, string, ctypes
import urllib.parse, urllib.request, re, json, requests, webbrowser, aiohttp, dns.name, asyncio, functools, logging
from discord.ext import (
commands,
tasks
)
from bs4 import BeautifulSoup as bs4
from urllib.parse import urlencode
from urllib.request import Request, urlopen
from pymongo import MongoClient
from selenium import webdriver
from threading import Thread
from subprocess import call
from itertools import cycle
from colorama import Fore
from sys import platform
from PIL import Image
import pyPrivnote as pn
from gtts import gTTS
ctypes.windll.kernel32.SetConsoleTitleW(f'Execard v{SELFBOT.__version__} | Loading...')
with open('config.json') as f:
config = json.load(f)
token = config.get('token')
password = config.get('password')
prefix = config.get('prefix')
giveaway_sniper = config.get('giveaway_sniper')
slotbot_sniper = config.get('slotbot_sniper')
nitro_sniper = config.get('nitro_sniper')
dankmemer_sniper = config.get('dankmemer_sniper')
privnote_sniper = config.get('privnote_sniper')
stream_url = config.get('stream_url')
tts_language = config.get('tts_language')
bitly_key = config.get('bitly_key')
cat_key = config.get('cat_key')
weather_key = config.get('weather_key')
cuttly_key = config.get('cuttly_key')
width = os.get_terminal_size().columns
hwid = subprocess.check_output('wmic csproduct get uuid').decode().split('\n')[1].strip()
start_time = datetime.datetime.utcnow()
loop = asyncio.get_event_loop()
languages = {
'hu' : 'Hungarian, Hungary',
'nl' : 'Dutch, Netherlands',
'no' : 'Norwegian, Norway',
'pl' : 'Polish, Poland',
'pt-BR' : 'Portuguese, Brazilian, Brazil',
'ro' : 'Romanian, Romania',
'fi' : 'Finnish, Finland',
'sv-SE' : 'Swedish, Sweden',
'vi' : 'Vietnamese, Vietnam',
'tr' : 'Turkish, Turkey',
'cs' : 'Czech, Czechia, Czech Republic',
'el' : 'Greek, Greece',
'bg' : 'Bulgarian, Bulgaria',
'ru' : 'Russian, Russia',
'uk' : 'Ukranian, Ukraine',
'th' : 'Thai, Thailand',
'zh-CN' : 'Chinese, China',
'ja' : 'Japanese',
'zh-TW' : 'Chinese, Taiwan',
'ko' : 'Korean, Korea'
}
locales = [
"da", "de",
"en-GB", "en-US",
"es-ES", "fr",
"hr", "it",
"lt", "hu",
"nl", "no",
"pl", "pt-BR",
"ro", "fi",
"sv-SE", "vi",
"tr", "cs",
"el", "bg",
"ru", "uk",
"th", "zh-CN",
"ja", "zh-TW",
"ko"
]
m_numbers = [
":one:",
":two:",
":three:",
":four:",
":five:",
":six:"
]
m_offets = [
(-1, -1),
(0, -1),
(1, -1),
(-1, 0),
(1, 0),
(-1, 1),
(0, 1),
(1, 1)
]
def startprint():
if giveaway_sniper == True:
giveaway = "Active"
else:
giveaway = "Disabled"
if nitro_sniper == True:
nitro = "Active"
else:
nitro = "Disabled"
if slotbot_sniper == True:
slotbot = "Active"
else:
slotbot = "Disabled"
if privnote_sniper == True:
privnote = "Active"
else:
privnote = "Disabled"
print(f'''{Fore.RESET}
{Fore.YELLOW} ███████╗██╗░░██╗███████╗░█████╗░░█████╗░██████╗░██████╗░
{Fore.YELLOW} ██╔════╝╚██╗██╔╝██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗
{Fore.YELLOW} █████╗░░░╚███╔╝░█████╗░░██║░░╚═╝███████║██████╔╝██║░░██║
{Fore.YELLOW} ██╔══╝░░░██╔██╗░██╔══╝░░██║░░██╗██╔══██║██╔══██╗██║░░██║
{Fore.YELLOW} ███████╗██╔╝╚██╗███████╗╚█████╔╝██║░░██║██║░░██║██████╔╝
{Fore.YELLOW} ╚══════╝╚═╝░░╚═╝╚══════╝░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░
{Fore.GREEN}Execard {SELFBOT.__version__} | {Fore.RED}Logged in as: {Fore.CYAN} {Execard.user.name}#{Execard.user.discriminator} {Fore.RED}| ID: {Fore.CYAN}{Execard.user.id}
{Fore.RED}Privnote Sniper | {Fore.CYAN}{privnote}{Fore.RED}|
{Fore.RED}Nitro Sniper | {Fore.CYAN}{nitro}{Fore.RED}|
{Fore.RED}Giveaway Sniper | {Fore.CYAN}{giveaway}{Fore.RED}|
{Fore.RED}SlotBot Sniper | {Fore.CYAN}{slotbot}{Fore.RED}|
{Fore.RED}Prefix | {Fore.CYAN}{prefix}{Fore.RED}|
{Fore.RED}Creator: {Fore.CYAN}coats.#4321 / Ecys#1337
'''+Fore.RESET)
def RandomColor():
randcolor = discord.Color(random.randint(0x000000, 0xFFFFFF))
return randcolor
def Clear():
os.system('cls')
Clear()
def Init():
if config.get('token') == "token-here":
Clear()
print(f"{Fore.RED}[ERROR] {Fore.YELLOW}You didnt put your token in the config.json file"+Fore.RESET)
else:
token = config.get('token')
try:
Execard.run(token, bot=False, reconnect=True)
os.system(f'title (Execard Selfbot) - Version {SELFBOT.__version__}')
except discord.errors.LoginFailure:
print(f"{Fore.RED}[ERROR] {Fore.YELLOW}Improper token has been passed"+Fore.RESET)
os.system('pause >NUL')
def GmailBomber():
_smpt = smtplib.SMTP('smtp.gmail.com', 587)
_smpt.starttls()
username = input('Gmail: ')
password = input('Gmail Password: ')
try:
_smpt.login(username, password)
except:
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW} Incorrect Password or gmail, make sure you've enabled less-secure apps access"+Fore.RESET)
target = input('Target Gmail: ')
message = input('Message to send: ')
counter = eval(input('Ammount of times: '))
count = 0
while count < counter:
count = 0
_smpt.sendmail(username, target, message)
count += 1
if count == counter:
pass
def GenAddress(addy: str):
letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
four_char = ''.join(random.choice(letters) for _ in range(4))
should_abbreviate = random.randint(0,1)
if should_abbreviate == 0:
if "street" in addy.lower():
addy = addy.replace("Street", "St.")
addy = addy.replace("street", "St.")
elif "st." in addy.lower():
addy = addy.replace("st.", "Street")
addy = addy.replace("St.", "Street")
if "court" in addy.lower():
addy = addy.replace("court", "Ct.")
addy = addy.replace("Court", "Ct.")
elif "ct." in addy.lower():
addy = addy.replace("ct.", "Court")
addy = addy.replace("Ct.", "Court")
if "rd." in addy.lower():
addy = addy.replace("rd.", "Road")
addy = addy.replace("Rd.", "Road")
elif "road" in addy.lower():
addy = addy.replace("road", "Rd.")
addy = addy.replace("Road", "Rd.")
if "dr." in addy.lower():
addy = addy.replace("dr.", "Drive")
addy = addy.replace("Dr.", "Drive")
elif "drive" in addy.lower():
addy = addy.replace("drive", "Dr.")
addy = addy.replace("Drive", "Dr.")
if "ln." in addy.lower():
addy = addy.replace("ln.", "Lane")
addy = addy.replace("Ln.", "Lane")
elif "lane" in addy.lower():
addy = addy.replace("lane", "Ln.")
addy = addy.replace("lane", "Ln.")
random_number = random.randint(1,99)
extra_list = ["Apartment", "Unit", "Room"]
random_extra = random.choice(extra_list)
return four_char + " " + addy + " " + random_extra + " " + str(random_number)
def BotTokens():
with open('Data/Tokens/bot-tokens.txt', 'a+') as f:
tokens = {token.strip() for token in f if token}
for token in tokens:
yield token
def UserTokens():
with open('Data/Tokens/user-tokens.txt', 'a+') as f:
tokens = {token.strip() for token in f if token}
for token in tokens:
yield token
class Login(discord.Client):
async def on_connect(self):
guilds = len(self.guilds)
users = len(self.users)
print("")
print(f"Connected to: [{self.user.name}]")
print(f"Token: {self.http.token}")
print(f"Guilds: {guilds}")
print(f"Users: {users}")
print("-------------------------------")
await self.logout()
def _masslogin(choice):
if choice == 'user':
for token in UserTokens():
loop.run_until_complete(Login().start(token, bot=False))
elif choice == 'bot':
for token in BotTokens():
loop.run_until_complete(Login().start(token, bot=True))
else:
return
def async_executor():
def outer(func):
@functools.wraps(func)
def inner(*args, **kwargs):
thing = functools.partial(func, *args, **kwargs)
return loop.run_in_executor(None, thing)
return inner
return outer
@async_executor()
def do_tts(message):
f = io.BytesIO()
tts = gTTS(text=message.lower(), lang=tts_language)
tts.write_to_fp(f)
f.seek(0)
return f
def Dump(ctx):
for member in ctx.guild.members:
f = open(f'Images/{ctx.guild.id}-Dump.txt', 'a+')
f.write(str(member.avatar_url)+'\n')
def Nitro():
code = ''.join(random.choices(string.ascii_letters + string.digits, k=16))
return f'https://discord.gift/{code}'
def RandomColor():
randcolor = discord.Color(random.randint(0x000000, 0xFFFFFF))
return randcolor
def RandString():
return "".join(random.choice(string.ascii_letters + string.digits) for i in range(random.randint(14, 32)))
colorama.init()
Execard = discord.Client()
Execard = commands.Bot(
description='Execard Selfbot',
command_prefix=prefix,
self_bot=True
)
Execard.msgsniper = False
Execard.slotbot_sniper = True
Execard.giveaway_sniper = True
Execard.dmc = False
Execard.dmc_channel = None
Execard.autobump = False
Execard.autobump_channel = None
Execard.mee6 = False
Execard.mee6_channel = None
Execard.yui_kiss_user = None
Execard.yui_kiss_channel = None
Execard.yui_hug_user = None
Execard.yui_hug_channel = None
Execard.snipe_history_dict = {}
Execard.sniped_message_dict = {}
Execard.sniped_edited_message_dict = {}
Execard.whitelisted_users = {}
Execard.copycat = None
Execard.wave = token
Execard.remove_command('help')
@tasks.loop(seconds=3)
async def btc_status():
r = requests.get('https://api.coindesk.com/v1/bpi/currentprice/btc.json').json()
value = r['bpi']['USD']['rate']
await asyncio.sleep(3)
btc_stream = discord.Streaming(
name="Current BTC price: "+value+"$ USD",
url="https://www.twitch.tv/monstercat",
)
await Execard.change_presence(activity=btc_stream)
@Execard.event
async def on_command_error(ctx, error):
error_str = str(error)
error = getattr(error, 'original', error)
if isinstance(error, commands.CommandNotFound):
return
elif isinstance(error, commands.CheckFailure):
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}You're missing permission to execute this command"+Fore.RESET)
elif isinstance(error, commands.MissingRequiredArgument):
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Missing arguments: {error}"+Fore.RESET)
elif isinstance(error, numpy.AxisError):
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Not a valid image"+Fore.RESET)
elif isinstance(error, discord.errors.Forbidden):
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Discord error: {error}"+Fore.RESET)
elif "Cannot send an empty message" in error_str:
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}Couldnt send a empty message"+Fore.RESET)
else:
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{error_str}"+Fore.RESET)
@Execard.event
async def on_message_delete(message):
if message.author.id == Execard.user.id:
return
if Execard.msgsniper:
if isinstance(message.channel, discord.DMChannel):
attachments = message.attachments
if len(attachments) == 0:
message_content = "`" + str(discord.utils.escape_markdown(str(message.author))) + "`: " + str(
message.content).replace("@everyone", "@\u200beveryone").replace("@here", "@\u200bhere")
await message.channel.send(message_content)
else:
links = ""
for attachment in attachments:
links += attachment.proxy_url + "\n"
message_content = "`" + str(
discord.utils.escape_markdown(str(message.author))) + "`: " + discord.utils.escape_mentions(
message.content) + "\n\n**Attachments:**\n" + links
await message.channel.send(message_content)
if len(Execard.sniped_message_dict) > 1000:
Execard.sniped_message_dict.clear()
if len(Execard.snipe_history_dict) > 1000:
Execard.snipe_history_dict.clear()
attachments = message.attachments
if len(attachments) == 0:
channel_id = message.channel.id
message_content = "`" + str(discord.utils.escape_markdown(str(message.author))) + "`: " + str(message.content).replace("@everyone", "@\u200beveryone").replace("@here", "@\u200bhere")
Execard.sniped_message_dict.update({channel_id: message_content})
if channel_id in Execard.snipe_history_dict:
pre = Execard.snipe_history_dict[channel_id]
post = str(message.author) + ": " + str(message.content).replace("@everyone", "@\u200beveryone").replace("@here", "@\u200bhere")
Execard.snipe_history_dict.update({channel_id: pre[:-3] + post + "\n```"})
else:
post = str(message.author) + ": " + str(message.content).replace("@everyone", "@\u200beveryone").replace("@here", "@\u200bhere")
Execard.snipe_history_dict.update({channel_id: "```\n" + post + "\n```"})
else:
links = ""
for attachment in attachments:
links += attachment.proxy_url + "\n"
channel_id = message.channel.id
message_content = "`" + str(discord.utils.escape_markdown(str(message.author))) + "`: " + discord.utils.escape_mentions(message.content) + "\n\n**Attachments:**\n" + links
Execard.sniped_message_dict.update({channel_id: message_content})
@Execard.event
async def on_message_edit(before, after):
if before.author.id == Execard.user.id:
return
if Execard.msgsniper:
if before.content is after.content:
return
# if isinstance(before.channel, discord.DMChannel) or isinstance(before.channel, discord.GroupChannel): \\ removed so people cant get you disabled
if isinstance(before.channel, discord.DMChannel):
attachments = before.attachments
if len(attachments) == 0:
message_content = "`" + str(
discord.utils.escape_markdown(str(before.author))) + "`: \n**BEFORE**\n" + str(
before.content).replace("@everyone", "@\u200beveryone").replace("@here",
"@\u200bhere") + "\n**AFTER**\n" + str(
after.content).replace("@everyone", "@\u200beveryone").replace("@here", "@\u200bhere")
await before.channel.send(message_content)
else:
links = ""
for attachment in attachments:
links += attachment.proxy_url + "\n"
message_content = "`" + str(
discord.utils.escape_markdown(str(before.author))) + "`: " + discord.utils.escape_mentions(
before.content) + "\n\n**Attachments:**\n" + links
await before.channel.send(message_content)
if len(Execard.sniped_edited_message_dict) > 1000:
Execard.sniped_edited_message_dict.clear()
attachments = before.attachments
if len(attachments) == 0:
channel_id = before.channel.id
message_content = "`" + str(discord.utils.escape_markdown(str(before.author))) + "`: \n**BEFORE**\n" + str(
before.content).replace("@everyone", "@\u200beveryone").replace("@here",
"@\u200bhere") + "\n**AFTER**\n" + str(
after.content).replace("@everyone", "@\u200beveryone").replace("@here", "@\u200bhere")
Execard.sniped_edited_message_dict.update({channel_id: message_content})
else:
links = ""
for attachment in attachments:
links += attachment.proxy_url + "\n"
channel_id = before.channel.id
message_content = "`" + str(
discord.utils.escape_markdown(str(before.author))) + "`: " + discord.utils.escape_mentions(
before.content) + "\n\n**Attachments:**\n" + links
Execard.sniped_edited_message_dict.update({channel_id: message_content})
@Execard.event
async def on_message(message):
if Execard.copycat is not None and Execard.copycat.id == message.author.id:
await message.channel.send(chr(173) + message.content)
def GiveawayData():
print(
f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
+Fore.RESET)
def SlotBotData():
print(
f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
+Fore.RESET)
def NitroData(elapsed, code):
print(
f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
f"\n{Fore.WHITE} - AUTHOR: {Fore.YELLOW}[{message.author}]"
f"\n{Fore.WHITE} - ELAPSED: {Fore.YELLOW}[{elapsed}]"
f"\n{Fore.WHITE} - CODE: {Fore.YELLOW}{code}"
+Fore.RESET)
def PrivnoteData(code):
print(
f"{Fore.WHITE} - CHANNEL: {Fore.YELLOW}[{message.channel}]"
f"\n{Fore.WHITE} - SERVER: {Fore.YELLOW}[{message.guild}]"
f"\n{Fore.WHITE} - CONTENT: {Fore.YELLOW}[The content can be found at Privnote/{code}.txt]"
+Fore.RESET)
time = datetime.datetime.now().strftime("%H:%M %p")
if 'discord.gift/' in message.content:
if nitro_sniper == True:
start = datetime.datetime.now()
code = re.search("discord.gift/(.*)", message.content).group(1)
token = config.get('token')
headers = {'Authorization': token}
r = requests.post(
f'https://discordapp.com/api/v6/entitlements/gift-codes/{code}/redeem',
headers=headers,
).text
elapsed = datetime.datetime.now() - start
elapsed = f'{elapsed.seconds}.{elapsed.microseconds}'
if 'This gift has been redeemed already.' in r:
print(""
f"\n{Fore.CYAN}[{time} - Nitro Already Redeemed]"+Fore.RESET)
NitroData(elapsed, code)
elif 'subscription_plan' in r:
print(""
f"\n{Fore.CYAN}[{time} - Nitro Success]"+Fore.RESET)
NitroData(elapsed, code)
elif 'Unknown Gift Code' in r:
print(""
f"\n{Fore.CYAN}[{time} - Nitro Unknown Gift Code]"+Fore.RESET)
NitroData(elapsed, code)
else:
return
if 'Someone just dropped' in message.content:
if slotbot_sniper == true:
if message.author.id == 346353957029019648:
try:
await asyncio.sleep(5)
await message.channel.send('~grab')
except discord.errors.Forbidden:
print(""
f"\n{Fore.CYAN}[{time} - SlotBot Couldnt Grab]"+Fore.RESET)
SlotBotData()
print(""
f"\n{Fore.CYAN}[{time} - Slotbot Grabbed]"+Fore.RESET)
SlotBotData()
else:
return
if 'GIVEAWAY' in message.content:
if giveaway_sniper == True:
if message.author.id == 294882584201003009 or message.author.id == 673918978178940951 or message.author.id == 582537632991543307 or message.author.id == 396464677032427530 or message.author.id == 649604306596528138 or message.author.id == 716967712844414996:
try:
await asyncio.sleep(19)
await message.add_reaction("🎉")
except discord.errors.Forbidden:
print(""
f"\n{Fore.CYAN}[{time} - Giveaway Couldnt React]"+Fore.RESET)
GiveawayData()
print(""
f"\n{Fore.CYAN}[{time} - Giveaway Sniped]"+Fore.RESET)
GiveawayData()
else:
return
if f'Congratulations <@{Execard.user.id}>' in message.content:
if giveaway_sniper == True:
if message.author.id == 294882584201003009 or message.author.id == 673918978178940951 or message.author.id == 582537632991543307 or message.author.id == 396464677032427530 or message.author.id == 649604306596528138 or message.author.id == 716967712844414996:
print(""
f"\n{Fore.CYAN}[{time} - Giveaway Won]"+Fore.RESET)
GiveawayData()
else:
return
if 'privnote.com' in message.content:
if privnote_sniper == True:
code = re.search('privnote.com/(.*)', message.content).group(1)
link = 'https://privnote.com/'+code
try:
note_text = pn.read_note(link)
except Exception as e:
print(e)
with open(f'Privnote/{code}.txt', 'a+') as f:
print(""
f"\n{Fore.CYAN}[{time} - Privnote Sniped]"+Fore.RESET)
PrivnoteData(code)
f.write(note_text)
else:
return
await Execard.process_commands(message)
@Execard.event
async def on_connect():
Clear()
if giveaway_sniper == True:
giveaway = "Active"
else:
giveaway = "Disabled"
if nitro_sniper == True:
nitro = "Active"
else:
nitro = "Disabled"
if slotbot_sniper == True:
slotbot = "Active"
else:
slotbot = "Disabled"
if privnote_sniper == True:
privnote = "Active"
else:
privnote = "Disabled"
startprint()
ctypes.windll.kernel32.SetConsoleTitleW(f'[Execard v{SELFBOT.__version__}] | Logged in as {Execard.user.name} ')
@Execard.command()
async def bhelp(ctx, category=None):
await ctx.message.delete()
if category is None:
embed = discord.Embed(color=0xFFA500, timestamp=ctx.message.created_at)
embed.set_author(name="𝙴𝚇𝙴𝙲𝙰𝚁𝙳 𝚟𝟹.𝟽", icon_url=Execard.user.avatar_url)
embed.set_thumbnail(url=Execard.user.avatar_url)
embed.add_field(name="😈 `HELP GENERAL`", value="Shows all general commands", inline=False)
embed.add_field(name="😈 `HELP ACCOUNT`", value="Shows all account commands", inline=False)
embed.add_field(name="😈 `HELP TEXT`", value="Shows all text commands", inline=False)
embed.add_field(name="😈 `HELP IMAGE`", value="Shows all image manipulation commands", inline=False)
embed.add_field(name="😈 `HELP NSFW`", value="Shows all nsfw commands", inline=False)
embed.add_field(name="😈 `HELP MISC`", value="Shows all miscellaneous commands", inline=False)
embed.add_field(name="😈 `HELP NUKE`", value="Shows all nuke commands", inline=False)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
await ctx.send(embed=embed)
elif str(category).lower() == "general":
embed = discord.Embed(color=0xFFA500, timestamp=ctx.message.created_at)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
embed.description = f"\uD83D\uDCB0 `GENERAL COMMANDS`\n`> help <category>` - returns all commands of that category\n`> uptime` - return how long the selfbot has been running\n`> prefix <prefix>` - changes the bot's prefix\n`> ping` - returns the bot's latency\n`> av <user>` - returns the user's pfp\n`> whois <user>` - returns user's account info\n`> tokeninfo <token>` - returns information about the token\n`> copyserver` - makes a copy of the server\n`> rainbowrole <role>` - makes the role a rainbow role (ratelimits)\n`> serverinfo` - gets information about the server\n`> serverpfp` - returns the server's icon\n`> banner` - returns the server's banner\n`> shutdown` - shutsdown the selfbot\n`> getroles` - lists all roles on the server"
await ctx.send(embed=embed)
elif str(category).lower() == "account":
embed = discord.Embed(color=0xFFA500, timestamp=ctx.message.created_at)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
embed.description = f"\uD83D\uDCB0 `ACCOUNT COMMANDS`\n`> ghost` - makes your name and pfp invisible\n`> pfpsteal <user>` - steals the users pfp\n`> setpfp <link>` - sets the image-link as your pfp\n`> hypesquad <hypesquad>` - changes your current hypesquad\n`> leavegroups` - leaves all groups that you're in\n`> cyclenick <text>` - cycles through your nickname by letter\n`> stopcyclenick` - stops cycling your nickname\n`> stream <status>` - sets your streaming status\n`> playing <status>` - sets your playing status\n`> listening <status>` - sets your listening status\n`> watching <status>` - sets your watching status\n`> stopactivity` - resets your status-activity\n`> acceptfriends` - accepts all friend requests\n`> delfriends` - removes all your friends\n`> ignorefriends` - ignores all friends requests\n`> clearblocked` - clears your block-list\n`> read` - marks all messages as read\n`> leavegc` - leaves the current groupchat\n`> adminservers` - lists all servers you have perms in\n`> slotbot <on/off>` - snipes slotbots ({Execard.slotbot_sniper})\n`> giveaway <on/off>` - snipes giveaways ({Execard.giveaway_sniper})\n`> mee6 <on/off>` - auto sends messages in the specified channel ({Execard.mee6}) <#{Execard.mee6_channel}>\n`> yuikiss <user>` - auto sends yui kisses every minute <@{Execard.yui_kiss_user}> <#{Execard.yui_kiss_channel}>\n`> yuihug <user>` - auto sends yui hugs every minute <@{Execard.yui_hug_user}> <#{Execard.yui_hug_channel}>\n`> yuistop` - stops any running yui loops"
await ctx.send(embed=embed)
elif str(category).lower() == "text":
embed = discord.Embed(color=0xFFA500, timestamp=ctx.message.created_at)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
embed.description = f"\uD83D\uDCB0 `TEXT COMMANDS`\n`> logo` - sends the selfbot logo\n`> snipehistory` - shows a history of deleted messages\n`> clearsnipehistory` - clears snipe history of current channel\n`> snipe` - shows the last deleted message\n`> editsnipe` - shows the last edited message\n`> msgsniper <on/off> ({Execard.msgsniper})` - enables a message sniper for deleted messages in DMs\n`> clear` - sends a large message filled with invisible unicode\n`> del <message>` - sends a message and deletes it instantly\n`> 1337speak <message>` - talk like a hacker\n`> minesweeper` - play a game of minesweeper\n`> spam <amount>` - spams a message\n`> dm <user> <content>` - dms a user a message\n`> reverse <message>` - sends the message but in reverse-order\n`> shrug` - returns ¯\_(ツ)_/¯\n`> lenny` - returns ( ͡° ͜ʖ ͡°)\n`> fliptable` - returns (╯°□°)╯︵ ┻━┻\n`> unflip` - returns ┬─┬ ノ( ゜-゜ノ)\n`> bold <message>` - bolds the message\n`> censor <message>` - censors the message\n`> underline <message>` - underlines the message\n`> italicize <message>` - italicizes the message\n`> strike <message>` - strikethroughs the message\n`> quote <message>` - quotes the message\n`> code <message>` - applies code formatting to the message\n`> purge <amount>` - purges the amount of messages\n`> empty` - sends an empty message\n`> tts <content>` - returns an mp4 file of your content\n`> firstmsg` - shows the first message in the channel history\n`> ascii <message>` - creates an ASCII art of your message\n`> wizz` - makes a prank message about wizzing \n`> 8ball <question>` - returns an 8ball answer\n`> slots` - play the slot machine\n`> everyone` - pings everyone through a link\n`> abc` - cyles through the alphabet\n`> cum` - makes you cum lol?\n`> 9/11` - sends a 9/11 attack\n`> massreact <emoji>` - mass reacts with the specified emoji"
await ctx.send(embed=embed)
elif str(category).lower() == "image":
embed = discord.Embed(color=0xFFA500, timestamp=ctx.message.created_at)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
embed.description = f"\uD83D\uDCB0 `IMAGE MANIPULATION COMMANDS`\n`> tweet <user> <message>` makes a fake tweet\n`> magik <user>` - distorts the specified user\n`> fry <user>` - deep-fry the specified user\n`> blur <user>` - blurs the specified user\n`> pixelate <user>` - pixelates the specified user\n`> Supreme <message>` - makes a *Supreme* logo\n`> darksupreme <message>` - makes a *Dark Supreme* logo\n`> fax <text>` - makes a fax meme\n`> blurpify <user>` - blurpifies the specified user\n`> invert <user>` - inverts the specified user\n`> gay <user>` - makes the specified user gay\n`> communist <user>` - makes the specified user a communist\n`> snow <user>` - adds a snow filter to the specified user\n`> jpegify <user>` - jpegifies the specified user\n`> Execard <logo-word 1> <logo-word 2>` - makes a Execard logo\n`> phcomment <user> <message>` - makes a fake Execard comment\n"
await ctx.send(embed=embed)
elif str(category).lower() == "nsfw":
embed = discord.Embed(color=0xFFA500, timestamp=ctx.message.created_at)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
embed.description = f"\uD83D\uDCB0 `NSFW COMMANDS`\n`> anal` - returns anal pics\n`> erofeet` - returns erofeet pics\n`> feet` - returns sexy feet pics\n`> hentai` - returns hentai pics\n`> boobs` - returns booby pics\n`> tits` - returns titty pics\n`> blowjob` - returns blowjob pics\n`> neko` - returns neko pics\n`> lesbian` - returns lesbian pics\n`> cumslut` - returns cumslut pics\n`> pussy` - returns pussy pics\n`> waifu` - returns waifu pics"
await ctx.send(embed=embed)
elif str(category).lower() == "misc":
embed = discord.Embed(color=0xFFA500, timestamp=ctx.message.created_at)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
embed.description = f"\uD83D\uDCB0 `MISCELLANEOUS COMMANDS`\n`> copycat <user>` - copies the users messages ({Execard.copycat})\n`> stopcopycat` - stops copycatting\n`> fakename` - makes a fakename with other members's names\n`> geoip <ip>` - looks up the ip's location\n`> pingweb <website-url>` pings a website to see if it's up\n`> anticatfish <user>` - reverse google searches the user's pfp\n`> stealemoji` - <emoji> <name> - steals the specified emoji\n`> hexcolor <hex-code>` - returns the color of the hex-code\n`> dick <user>` - returns the user's dick size\n`> bitcoin` - shows the current bitcoin exchange rate\n`> hastebin <message>` - posts your message to hastebin\n`> rolecolor <role>` - returns the role's color\n`> nitro` - generates a random nitro code\n`> feed <user>` - feeds the user\n`> tickle <user>` - tickles the user\n`> slap <user>` - slaps the user\n`> hug <user>` - hugs the user\n`> cuddle <user>` - cuddles the user\n`> smug <user>` - smugs at the user\n`> pat <user>` - pat the user\n`> kiss <user>` - kiss the user\n`> topic` - sends a conversation starter\n`> wyr` - sends a would you rather\n`> gif <query>` - sends a gif based on the query\n`> sendall <message>` - sends a message in every channel\n`> poll <msg: xyz 1: xyz 2: xyz>` - creates a poll\n`> bots` - shows all bots in the server\n`> image <query>` - returns an image\n`> hack <user>` - hacks the user\n`> token <user>` - returns the user's token\n`> cat` - returns random cat pic\n`> sadcat` - returns a random sad cat\n`> dog` - returns random dog pic\n`> fox` - returns random fox pic\n`> bird` - returns random bird pic\n"
await ctx.send(embed=embed)
elif str(category).lower() == "nuke":
embed = discord.Embed(color=random.randrange(0x1000000), timestamp=ctx.message.created_at)
embed.set_image(url="https://cdn.discordapp.com/attachments/784561225458778172/792435183236284416/oRKHqciYdcn4.gif")
embed.description = f"\uD83D\uDCB0 `NUKE COMMANDS`\n`> tokenfuck <token>` - disables the token\n`> nuke` - nukes the server\n`> massban` - bans everyone in the server\n`> dynoban` - mass bans with dyno one message at a time\n`> masskick` - kicks everyone in the server\n`> spamroles` - spam makes 250 roles\n`> spamchannels` - spam makes 250 text channels\n`> delchannels` - deletes all channels in the server\n`> delroles` - deletes all roles in the server\n`> purgebans` - unbans everyone\n`> renamechannels <name>` - renames all channels\n`> servername <name>` - renames the server to the specified name\n`> nickall <name>` - sets all user's nicknames to the specified name\n`> changeregion <amount>` - spam changes regions in groupchats\n`> kickgc` - kicks everyone in the gc\n`> spamgcname` - spam changes the groupchat name\n`> massmention <message>` - mass mentions random people\n`> giveadmin` - gives all admin roles in the server\n"
await ctx.send(embed=embed)
@Execard.command(aliases=["automee6"])
async def mee6(ctx, param=None):
await ctx.message.delete()
if param is None:
await ctx.send("Please specify True/false.", delete_after=0.1)
return
if str(param).lower() == 'true' or str(param).lower() == 'on' or str(param).lower() == '>>':
if isinstance(ctx.message.channel, discord.DMChannel) or isinstance(ctx.message.channel, discord.GroupChannel):
await ctx.send(f"{Fore.RED} [ERROR]:{Fore.RESET} AUTO-MEE6 is Unable to be bound to a DM or Group-chat")
return
else:
Execard.mee6 = True
print(f"{Fore.BLUE} AUTO-MEE6:{Fore.RESET} Succesfully bound to {Fore.GREEN}" + ctx.channel.name + "")
Execard.mee6_channel = ctx.channel.id
elif str(param).lower() == 'false' or str(param).lower() == 'off'or str(param).lower() == '<<':
Execard.mee6 = False
print(f"{Fore.BLUE} AUTO-MEE6:{Fore.RESET} Successfully {Fore.GREEN}DISABLED")
while Execard.mee6 is True:
sentences = ['Stop waiting for exceptional things to just happen.',
'The lyrics of the song sounded like fingernails on a chalkboard.',
'I checked to make sure that he was still alive.', 'We need to rent a room for our party.',
'He had a hidden stash underneath the floorboards in the back room of the house.',
'Your girlfriend bought your favorite cookie crisp cereal but forgot to get milk.',
'People generally approve of dogs eating cat food but not cats eating dog food.',
'I may struggle with geography, but I\'m sure I\'m somewhere around here.',
'She was the type of girl who wanted to live in a pink house.',
'The bees decided to have a mutiny against their queen.',
'She looked at the masterpiece hanging in the museum but all she could think is that her five-year-old could do better.',
'The stranger officiates the meal.', 'She opened up her third bottle of wine of the night.',
'They desperately needed another drummer since the current one only knew how to play bongos.',
'He waited for the stop sign to turn to a go sign.',
'His thought process was on so many levels that he gave himself a phobia of heights.',
'Her hair was windswept as she rode in the black convertible.',
'Karen realized the only way she was getting into heaven was to cheat.',
'The group quickly understood that toxic waste was the most effective barrier to use against the zombies.',
'It was obvious she was hot, sweaty, and tired.', 'This book is sure to liquefy your brain.',
'I love eating toasted cheese and tuna sandwiches.', 'If you don\'t like toenails',
'You probably shouldn\'t look at your feet.',
'Wisdom is easily acquired when hiding under the bed with a saucepan on your head.',
'The spa attendant applied the deep cleaning mask to the gentleman’s back.',
'The three-year-old girl ran down the beach as the kite flew behind her.',
'For oil spots on the floor, nothing beats parking a motorbike in the lounge.',
'They improved dramatically once the lead singer left.',
'The Tsunami wave crashed against the raised houses and broke the pilings as if they were toothpicks.',
'Excitement replaced fear until the final moment.', 'The sun had set and so had his dreams.',
'People keep telling me "orange" but I still prefer "pink".',
'Someone I know recently combined Maple Syrup & buttered Popcorn thinking it would taste like caramel popcorn. It didn’t and they don’t recommend anyone else do it either.',
'I liked their first two albums but changed my mind after that charity gig.',
'Plans for this weekend include turning wine into water.',
'A kangaroo is really just a rabbit on steroids.',
'He played the game as if his life depended on it and the truth was that it did.',
'He\'s in a boy band which doesn\'t make much sense for a snake.',
'She let the balloon float up into the air with her hopes and dreams.',
'There was coal in his stocking and he was thrilled.',
'This made him feel like an old-style rootbeer float smells.',
'It\'s not possible to convince a monkey to give you a banana by promising it infinite bananas when they die.',
'The light in his life was actually a fire burning all around him.',
'Truth in advertising and dinosaurs with skateboards have much in common.',
'On a scale from one to ten, what\'s your favorite flavor of random grammar?',
'The view from the lighthouse excited even the most seasoned traveler.',
'The tortoise jumped into the lake with dreams of becoming a sea turtle.',
'It\'s difficult to understand the lengths he\'d go to remain short.',
'Nobody questions who built the pyramids in Mexico.',
'They ran around the corner to find that they had traveled back in time.',
'A sudden warm rainstorm washes down in sweet hyphens.',
'We were all a little drunk with spring, like the fat bees reeling from flower to flower, and a strange insurrectionary current ran among us.',
'Lizards skit like quick beige sticks.',
'The sky, at sunset, looked like a carnivorous flower.',
'Inside us there is something that has no name, that something is what we are.',
'As he crossed toward the pharmacy at the corner he involuntarily turned his head because of a burst of light that had ricocheted from his temple, and saw, with that quick smile with which we greet a rainbow or a rose, a blindingly white parallelogram of sky being unloaded from the van—a dresser with mirrors across which, as across a cinema screen, passed a flawlessly clear reflection of boughs sliding and swaying not arboreally, but with a human vacillation, produced by the nature of those who were carrying this sky, these boughs, this gliding façade.',
'They were all scarecrows, blown about under the murdering sunball with empty ribcages.',
'We all owe death a life',
'Love is the extremely difficult realization that something other than oneself is real.',
'In the deep gloom he could see the electric white gashes where the water boiled over the boulders.',
'We are souls shut inside a cage of bones; souls squeezed into a parcel of flesh.',
'I want to sleep in her uterus with my foot hanging out.',
'Sometimes to understand a word\'s meaning you need more than a definition.',
'Oh, and tell him I swear not to look at what other girl\'s he\'s been calling... cross my heart, like fun!',
'The light beyond the solid French doors made her flinch, but she forced herself to cross the doorway.'
'Are you blaming a little boy for what his mother did?',
'The blue parrot drove by the hitchhiking mongoose.',
'Most shark attacks occur about 10 feet from the beach since that\'s where the people are.',
'The two walked down the slot canyon oblivious to the sound of thunder in the distance.',
'My dentist tells me that chewing bricks is very bad for your teeth.',
'At that moment he wasn\'t listening to music, he was living an experience.',
'He figured a few sticks of dynamite were easier than a fishing pole to catch fish.',
'With a single flip of the coin, his life changed forever.',
'She wondered what his eyes were saying beneath his mirrored sunglasses.',
'He barked orders at his daughters but they just stared back with amusement.',
'Watching the geriatric men’s softball team brought back memories of 3 yr olds playing t-ball.']
await asyncio.sleep(45)
await Execard.get_channel(Execard.mee6_channel).send(random.choice(sentences), delete_after=0.1)
await asyncio.sleep(45)
@Execard.command(aliases=["calc", "math"])
async def calculate(ctx, *, operation=None):
try:
operation = eval(operation)
except ZeroDivisionError:
await ctx.message.edit(content=(f"**Error: division by zero!**"))
return
except:
await ctx.message.edit(content=(f"**Error: expression could not be calculated!**"))
return
await ctx.message.edit(content=(f"**The answer to your calculation is: **`{operation}`**!**"))
@Execard.command(aliases=['flip'])
async def coinflip(ctx):
lista = ['head', 'tails']
coin = random.choice(lista)
await ctx.message.delete()
try:
if coin == 'head':
embed= discord.Embed(color=RandomColor(), title="Head",)
embed.set_thumbnail(url="https://webstockreview.net/images/coin-clipart-dime-6.png")
await ctx.send(embed=embed)
else:
embed= discord.Embed(color=RandomColor(), title="Tails",)
embed.set_thumbnail(url="https://www.nicepng.com/png/full/146-1464848_quarter-tail-png-tails-on-a-coin.png")
await ctx.send(embed=embed)
except discord.HTTPException:
if coin == 'head':
await ctx.send("Coinflip: **Head**")
else:
await ctx.send("Coinflip: **Tails**")
@Execard.command()
async def memespam(ctx):
for b in range(50):
r = requests.get("https://some-random-api.ml/meme").json()
embed = discord.Embed(color=RandomColor())
embed.set_image(url=str(r["image"]))
await ctx.send(embed=embed)
@Execard.command(aliases=['sex'])
async def hentaispam(ctx):
r = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r.json()
embed = discord.Embed(color=RandomColor())
embed.set_image(url=res["url"])
r2 = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r2.json()
embed2 = discord.Embed(color=RandomColor())
embed2.set_image(url=res["url"])
r3 = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r3.json()
embed3 = discord.Embed(color=RandomColor())
embed3.set_image(url=res["url"])
r4 = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r4.json()
embed4 = discord.Embed(color=RandomColor())
embed4.set_image(url=res["url"])
r5 = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r5.json()
embed5 = discord.Embed(color=RandomColor())
embed5.set_image(url=res["url"])
r6 = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r6.json()
embed6 = discord.Embed(color=RandomColor())
embed6.set_image(url=res["url"])
r7 = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r7.json()
embed7 = discord.Embed(color=RandomColor())
embed7.set_image(url=res["url"])
r8 = requests.get("https://nekos.life/api/v2/img/Random_hentai_gif")
res = r8.json()
embed8 = discord.Embed(color=RandomColor())
embed8.set_image(url=res["url"])
r1 = requests.get("https://nekos.life/api/v2/img/boobs")
res = r1.json()
embed1 = discord.Embed(color=RandomColor())
embed1.set_image(url=res["url"])
for i in range(30):
await ctx.send(embed=embed)
await ctx.send(embed=embed1)
await ctx.send(embed=embed2)
await ctx.send(embed=embed3)
await ctx.send(embed=embed4)
await ctx.send(embed=embed5)
await ctx.send(embed=embed6)
await ctx.send(embed=embed7)
await ctx.send(embed=embed8)
@Execard.command()
async def meme(ctx):
r = requests.get("https://some-random-api.ml/meme").json()
embed = discord.Embed(color=RandomColor())
embed.set_author(name="Random Meme", icon_url="https://i.kym-cdn.com/photos/images/original/000/538/955/4a3.png")
embed.set_image(url=str(r["image"]))
await ctx.message.delete()
await ctx.send(embed=embed)
@Execard.command(aliases=['sp'])
async def silentping(ctx, message):
await ctx.message.delete()
for i in range(10):
var = ("<@" + message + ">")
await ctx.send(var*1)
await ctx.send(var*1)
await ctx.send(var*1)
async for message in ctx.message.channel.history(limit=3).filter(lambda m: m.author == Execard.user).map(lambda m: m):
try:
await message.delete()
except:
pass
@Execard.command()
async def adminservers(ctx):
await ctx.message.delete()
admins = []
bots = []
kicks = []
bans = []
for guild in Execard.guilds:
if guild.me.guild_permissions.administrator:
admins.append(discord.utils.escape_markdown(guild.name))
if guild.me.guild_permissions.manage_guild and not guild.me.guild_permissions.administrator:
bots.append(discord.utils.escape_markdown(guild.name))
if guild.me.guild_permissions.ban_members and not guild.me.guild_permissions.administrator:
bans.append(discord.utils.escape_markdown(guild.name))
if guild.me.guild_permissions.kick_members and not guild.me.guild_permissions.administrator:
kicks.append(discord.utils.escape_markdown(guild.name))
adminPermServers = f"**Servers with Admin ({len(admins)}):**\n{admins}"
botPermServers = f"\n**Servers with BOT_ADD Permission ({len(bots)}):**\n{bots}"
banPermServers = f"\n**Servers with Ban Permission ({len(bans)}):**\n{bans}"
kickPermServers = f"\n**Servers with Kick Permission ({len(kicks)}:**\n{kicks}"
await ctx.send(adminPermServers + botPermServers + banPermServers + kickPermServers)
@Execard.command()
async def bots(ctx):
await ctx.message.delete()
bots = []
for member in ctx.guild.members:
if member.bot:
bots.append(
str(member.name).replace("`", "\`").replace("*", "\*").replace("_", "\_") + "#" + member.discriminator)
bottiez = f"**Bots ({len(bots)}):**\n{', '.join(bots)}"
await ctx.send(bottiez)
@Execard.command(aliases = ["gayrate"])
async def howgay(ctx, *, name=''):
await ctx.message.delete()
col = random.randint(0, 0xffffff)
embed = discord.Embed(
title = 'Gay Rate Machine',
description = ':rainbow_flag: Calculating...',
color=RandomColor()
)
sent = await ctx.send(embed = embed)
await asyncio.sleep(2)
number = random.randrange(0, 101)
desc = ''
if name == '':
desc = f'You are {number}% gay :rainbow_flag:'
else:
desc = f'{name} is {number}% gay :rainbow_flag:'
embed1 = discord.Embed(
title = 'Gay Rate Machine',description = desc, color=RandomColor())
await sent.edit(embed = embed1)
@Execard.command(aliases = ["simprate:"])
async def howsimp(ctx, *, name=''):
await ctx.message.delete()
col = random.randint(0, 0xffffff)
embed = discord.Embed(
title = 'Simp Rate Machine',
description = ':pleading_face: Calculating...',
color=RandomColor()
)
sent = await ctx.send(embed = embed)
await asyncio.sleep(2)
number = random.randrange(0, 101)
desc = ''
if name == '':
desc = f'You are {number}% simp :pleading_face:'
else:
desc = f'{name} is {number}% simp :pleading_face:'
embed1 = discord.Embed(
title = 'Simp Rate Machine',description = desc, color=RandomColor())
await sent.edit(embed = embed1)
@Execard.command()
async def embed(ctx, *, message):
await ctx.message.delete()
embed = discord.Embed(description = message, color=RandomColor())
await ctx.send(embed = embed)
@Execard.command(aliases=[">"])
async def temp(ctx, param=None):
await ctx.message.delete()
count = 0
if param is None:
print("Please specify True/false.")
return
if str(param).lower() == 'true' or str(param).lower() == 'on' or str(param).lower() == '>>':
if isinstance(ctx.message.channel, discord.DMChannel) or isinstance(ctx.message.channel, discord.GroupChannel):
await ctx.send("You can't bind Temp to a DM or GC", delete_after=0.1)
return
else:
Execard.tmp = True
print("Successfully bound to `" + ctx.channel.name + "`",)
elif str(param).lower() == 'false' or str(param).lower() == 'off' or str(param).lower() == '<<':
Execard.tmp = False
print("Successfully **disabled**",)
while Execard.tmp is True:
try:
count += 1
await ctx.send('ㅤㅤ ㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤ ㅤㅤㅤㅤㅤ', delete_after=0.1)
print(f'{Fore.BLUE}[TEMP] {Fore.GREEN}sent number: {count} sent'+Fore.RESET)
await asyncio.sleep(45)
except Exception as e:
print(f"{Fore.RED}[ERROR]: {Fore.YELLOW}{e}"+Fore.RESET)
@Execard.command(aliases=["dmc", "beg", "autobegger"])
async def dankmemer(ctx, param=None):
await ctx.message.delete()
count = 0
if param is None:
await ctx.send("Please specify True/false.", delete_after=0.1)
return
if str(param).lower() == 'true' or str(param).lower() == 'on':
if isinstance(ctx.message.channel, discord.DMChannel) or isinstance(ctx.message.channel, discord.GroupChannel):
await ctx.send("You can't bind Dankmemer to a DM or GC", delete_after=0.1)
return
else:
Execard.dankmemer = True
await ctx.send("Dankmemer Successfully bound to `" + ctx.channel.name + "`", delete_after=0.1)
elif str(param).lower() == 'false' or str(param).lower() == 'off':