Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/gbghfghf/Helium
Browse files Browse the repository at this point in the history
  • Loading branch information
Tips-Discord committed Dec 31, 2023
1 parent ede282e commit 1cacf87
Showing 1 changed file with 53 additions and 6 deletions.
59 changes: 53 additions & 6 deletions Helium.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def get_random_members(self, guild_id, count):
except Exception as e:
console.log("FAILED", C["red"], 'Failed to get Random Members', e)

def spammer(self, token, channel, message=None, guild=None, massping=None, pings=None, emoiyspam=None):
def spammer(self, token, channel, message=None, guild=None, massping=None, pings=None):
try:
while True:
if massping:
Expand Down Expand Up @@ -777,6 +777,8 @@ def run(token):
else:
console.log('Failed', C['red'], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", channel_id)

with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, ) for token in tokens
]
Expand Down Expand Up @@ -849,6 +851,8 @@ def main(token):
except Exception as e:
console.log("Failed", C["red"], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", e)

with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, ) for token in tokens
]
Expand All @@ -858,6 +862,8 @@ def reactor_main(self, channel_id, message_id):
try:
access_token = []
emojis = []
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()

params = {
"around": message_id,
Expand Down Expand Up @@ -919,6 +925,8 @@ def add_reaction(token):
except Exception as e:
console.log("Failed", C["red"], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", e)

with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token,) for token in tokens
]
Expand All @@ -944,6 +952,8 @@ def add_reaction(token):
except Exception as e:
console.log("FAILED", C["red"], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", e)

with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token) for token in tokens
]
Expand Down Expand Up @@ -1111,6 +1121,8 @@ def button_bypass(self, token, message_id, channel_id, guild_id, optionbutton):
def accept_rules(self, guild_id):
try:
valid = []
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
for token in tokens:
value = session.get(
f"https://canary.discord.com/api/v9/guilds/{guild_id}/member-verification",
Expand Down Expand Up @@ -1146,7 +1158,11 @@ def run_main(token):
except Exception as e:
console.log("FAILED", C["red"], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", e)

args = [(token, ) for token in tokens]
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, ) for token in tokens
]
Menu().run(run_main, args)

def guild_checker(self, guild_id):
Expand Down Expand Up @@ -1176,6 +1192,8 @@ def main_checker(token):
except Exception as e:
console.log("FAILED", C["red"], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", e)

with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, ) for token in tokens
]
Expand Down Expand Up @@ -1289,7 +1307,6 @@ def friender(self, token, nickname):
try:
payload = {
'username': nickname,
'discriminator': None,
}

response = session.post(
Expand Down Expand Up @@ -1374,6 +1391,8 @@ def run_task(token):
except Exception as e:
console.log("FAILED", C["red"], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", e)

with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token,) for token in tokens
]
Expand Down Expand Up @@ -1401,7 +1420,11 @@ def run_task(token):
except Exception as e:
console.log("FAILED", C["red"], f"{Fore.RESET}{token[:25]}.{Fore.LIGHTCYAN_EX}**", e)

args = [(token,) for token in tokens]
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token,) for token in tokens
]
Menu().run(run_task, args)

class Menu:
Expand All @@ -1417,7 +1440,7 @@ def __init__(self):
"7": self.button,
"8": self.accept,
"9": self.guild,
"10": self.bio_changer,
"10": self.friender,
"11": self.onliner,
"12": self.soundbord,
"13": self.nick_changer,
Expand Down Expand Up @@ -1467,6 +1490,8 @@ def soundbord(self):
guild = Link.split("/")[4]
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
for token in tokens:
threading.Thread(target=self.raider.vc_joiner, args=(token, guild, channel, websocket.WebSocket())).start()
threading.Thread(target=self.raider.soundbord, args=(token, channel)).start()
Expand All @@ -1479,6 +1504,8 @@ def friender(self):
Menu().main_menu()
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, nickname) for token in tokens
]
Expand All @@ -1492,6 +1519,8 @@ def caller(self):
Menu().main_menu()
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
for token in tokens:
threading.Thread(target=self.raider.call_spammer, args=(token, user_id)).start()

Expand All @@ -1515,6 +1544,8 @@ def typier(self):
channelid = Link.split("/")[5]
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, channelid) for token in tokens
]
Expand All @@ -1533,6 +1564,8 @@ def nick_changer(self):
Menu().main_menu()
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, guild, nick) for token in tokens
]
Expand All @@ -1552,6 +1585,8 @@ def voice_joiner(self):
channel = Link.split("/")[5]
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, guild, channel, websocket.WebSocket()) for token in tokens
]
Expand All @@ -1575,6 +1610,8 @@ def Thread_Spammer(self):
channel_id = Link.split("/")[5]
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, channel_id, name) for token in tokens
]
Expand All @@ -1589,6 +1626,8 @@ def joiner(self):
invite = invite.replace("https://discord.gg/", "").replace("https://discord.com/invite/", "").replace("discord.gg/", "").replace("https://discord.com/invite/", "").replace(".gg/", "").replace("https://canary.", "").replace("canary.", "")
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, invite) for token in tokens
]
Expand All @@ -1602,6 +1641,8 @@ def leaver(self):
Menu().main_menu()
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, guild) for token in tokens
]
Expand All @@ -1610,6 +1651,8 @@ def leaver(self):
@wrapper
def spammer(self):
os.system('title Helium - Spammer')
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
Link = input(console.prompt(f"Channel LINK"))
if Link == "":
Menu().main_menu()
Expand Down Expand Up @@ -1649,7 +1692,7 @@ def spammer(self):
self.run(self.raider.dyno_massping, args)
else:
args = [
(token, channel_id, message, guild_id, True, count, False) for token in tokens
(token, channel_id, message, guild_id, True, count) for token in tokens
]
self.run(self.raider.spammer, args)
else:
Expand Down Expand Up @@ -1703,6 +1746,8 @@ def button(self):
optionbutton = 0
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, message_id, channel_id, guild_id, optionbutton) for token in tokens
]
Expand Down Expand Up @@ -1736,6 +1781,8 @@ def bio_changer(self):
Menu().main_menu()
os.system('cls')
console.render_ascii()
with open("data/tokens.txt", "r") as f:
tokens = f.read().splitlines()
args = [
(token, bio) for token in tokens
]
Expand Down

0 comments on commit 1cacf87

Please sign in to comment.