Skip to content

Instantly share code, notes, and snippets.

@bennyscripts
Last active August 20, 2022 23:31
Show Gist options
  • Save bennyscripts/25a1e69368f8d35c9162df2f628eb5fc to your computer and use it in GitHub Desktop.
Save bennyscripts/25a1e69368f8d35c9162df2f628eb5fc to your computer and use it in GitHub Desktop.
Discord group spammer.
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()
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