Last active
August 20, 2022 23:31
-
-
Save bennyscripts/25a1e69368f8d35c9162df2f628eb5fc to your computer and use it in GitHub Desktop.
Discord group spammer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
import threading | |
def createGroup(token, nicks, recipients): | |
return requests.post("https://discord.com/api/users/@me/channels", headers={"Authorization": token, "Content-Type": "application/json", "X-Context-Properties": "eyJsb2NhdGlvbiI6Ik5ldyBHcm91cCBETSJ9"}, data=json.dumps({"nicks": nicks, "recipients": recipients})) | |
def spamGroups(): | |
while True: | |
token = "your account token" | |
nicks = {"userid1": "username1", "userid2": "username2"} | |
recipients = ["userid1", "userid2"] | |
group = createGroup(token, nicks, recipients) | |
threading.Thread(target=spamGroups()).start() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To add users to your group you need to add user ids (string) to recipients in spamGroups and add user id (string) : user name (string) in nicks in spamGroups. | |
If this makes no sense then im sorry :/. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment