Skip to content

Instantly share code, notes, and snippets.

View bennyscripts's full-sized avatar
🤯
benny.fun

ben bennyscripts

🤯
benny.fun
  • United Kingdom
  • 02:50 (UTC +01:00)
View GitHub Profile
@bennyscripts
bennyscripts / account_reset.py
Created August 20, 2023 16:23
A python script that removes all friends and leaves all guilds on a Discord account.
import requests
import time
import os
TOKEN = ""
BASE_API = "https://discord.com/api/v9"
HEADERS = {
"Authorization": TOKEN,
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Linux; Android 13; SM-A526B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/111.0.5563.57 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/406.0.0.26.90;]"}
@bennyscripts
bennyscripts / discord_soundboard.py
Last active June 30, 2024 02:00
A very basic Python wrapper for Discord's new soundboard feature
import requests
import base64
import mimetypes
class Sound:
def __init__(self, name, sound_id, volume, emoji_id, emoji_name, override_path, user_id, available):
self.name = name
self.id = sound_id
self.volume = volume
self.emoji_id = emoji_id
@bennyscripts
bennyscripts / fontawesome-pro.js
Last active October 20, 2022 12:10
A tutorial and sample code to get access to Font Awesome's pro icons for completely free.
window.FontAwesomeKitConfig = {
"asyncLoading": {
"enabled": false
},
"autoA11y": {
"enabled": true
},
"baseUrl": "https://ka-f.fontawesome.com",
"baseUrlKit": "https://kit.fontawesome.com",
"detectConflictsUntil": null,
We're no strangers to love
You know the rules and so do I
A full commitment's what I'm thinking of
You wouldn't get this from any other guy
I just wanna tell you how I'm feeling
Gotta make you understand
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
@bennyscripts
bennyscripts / rps.py
Created January 29, 2022 08:31
Super simple Rock Paper Scissors game in Python.
import random
choices = ["rock", "paper", "scissors"]
beats = {"rock": "scissors", "paper": "rock", "scissors": "paper"}
player = False
while not player:
player = input("rock, paper, or scissors? ").lower()
computer = random.choice(choices)
@bennyscripts
bennyscripts / groupspammer.py
Last active August 20, 2022 23:31
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"