Skip to content

Instantly share code, notes, and snippets.

View bennyscripts's full-sized avatar

bennyscripts

  • United Kingdom
  • 17:15 (UTC +01:00)
View GitHub Profile
@bennyscripts
bennyscripts / discord-token.md
Last active February 19, 2025 18:02
How to get your Discord token!

Discord Token Guide

First you need to open discord.com/app in your browser. This guide and the following screenshots are from Chrome so Firefox or another browser may differ but it is relatively the same. Once you are there, click on the three dots in the top right hand corner of the browser, then go to more tools and then developer tools.

Next thing is to go to the network tab. This may be hidden in the dropdown, if so click on the chevrons and chose network from the options.

Third you now need to search for me and give the page a refresh. This searches for the subscriptions endpoint in Discord's API which is authorised by your token.

@bennyscripts
bennyscripts / karma_responses.json
Created January 17, 2025 14:10
karma responses
{
"terrible": [
"Did you steal candy from a baby or something?",
"You're one bad decision away from being the villain in a Disney movie.",
"The universe is keeping receipts, and they're not looking good.",
"Nice. But also, not so nice.",
"Did you upset a wizard or something?",
"You're officially banned from good vibes.",
"Time to start holding doors open for people!",
"Even the bot is judging you right now.",
@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 March 8, 2025 03:53
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, override_path):
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"