Skip to content

Instantly share code, notes, and snippets.

@oSumAtrIX
oSumAtrIX / README.md
Last active February 8, 2025 11:53
Useful snippets for Discord

Discord console scripts

My collection of scripts for Discord.

Scripts

  • friend_invitelink.js: Generate a friend invite link
  • clientside_nitro.js: Spoof the client and enable client side Discord Nitro
@ExampleWasTaken
ExampleWasTaken / discord_webpack_code_snippets.md
Last active February 22, 2024 18:03
Enable Discord Developer Options and more

DISCLAIMER

I am in no way, shape, or form responsible for any damage caused by the usage of these snippets. You use them at your own risk! I am not related to Discord in any way.

This gist is unmaintained! Feel free to fork it.

What is this?

Using the Chrome dev tools you can do some fun stuff with the Discord client. As they are disabled on the stable version you need to use the canary version which is used to test new features before they get released to the stable version. It's usage is totally legal and within ToS. Discord does not promote it but encourages users to use it to find bugs, etc.

You can download the latest Canary builds here:

@taskylizard
taskylizard / _.md
Last active March 21, 2025 03:49
Dead links for /r/freemediaheckyeah.

Notes:

  • Some links could be locked behind accounts (cs.rin.ru for example), so its better to ignore.
  • Github links are supposedly broken too, this is caused by the api ratelimit and i can't do anything at the moment.
  • Whatever else.
@taskylizard
taskylizard / fmhy.md
Last active May 7, 2025 11:19
/r/freemediaheckyeah, in one single file (view raw)
@genadyp
genadyp / ultimate-ut-cheat-sheet.md
Created November 24, 2021 06:35 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@GeneralSadaf
GeneralSadaf / List of Discord voice activities.md
Last active June 20, 2024 15:45
IDs of Discord voice activities.

Activities no longer require boosts to unlock. Activities except Watch Together are locked behind Nitro. Kept boost levels for prosperity.

Stable versions

Application ID Application name Boost level Max participants
755600276941176913 YouTube Together(Old) 0 Unlimited
880218394199220334 Watch Together(New) 0 Unlimited
755827207812677713 Poker Night 1 25
773336526917861400 Betrayal.io 0 Unlimited
814288819477020702 Fishington.io 0 Unlimited
832012774040141894 Chess In The Park 1 Unlimited
@HELLSNAKES
HELLSNAKES / presence.js
Last active August 1, 2024 08:04
mobile-presence
const Discord = require("discord.js")
const client = new Discord.Client({ ws: { properties: { $browser: "Discord iOS" }} })
client.on("ready", () => {
client.user.setActivity(`hentaiz`, { type: 3, browser: "DISCORD IOS" })
console.log("Ready")
})
client.login('token')
@mkornatz
mkornatz / cf-worker.js
Last active May 6, 2025 18:56
Cloudflare Workers CORS Proxy (supports websockets)
// We support the GET, POST, HEAD, and OPTIONS methods from any origin,
// and allow any header on requests. These headers must be present
// on all responses to all CORS preflight requests. In practice, this means
// all responses to OPTIONS requests.
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET,HEAD,POST,OPTIONS",
"Access-Control-Max-Age": "86400",
}
@sindresorhus
sindresorhus / esm-package.md
Last active May 7, 2025 10:36
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@Techy
Techy / features.md
Last active May 2, 2025 07:32
Discord Guild Features

This is an unofficial list of all Discord guild features, for an official list refer to the Discord Developer documentation.

Guild Feature Description
ANIMATED_ICON Allows the server to set an animated icon. Used in server boosting, level 1
BANNER Allows the server to set a banner which is shown at the top of all the channels. Used in server boosting, level 2
COMMERCE Given to servers with a developer license, allows them to create and use store channels
COMMUNITY Given to servers that enable community in server settings, also gives access to the news feature which allows servers to create announcement channels
DISCOVERABLE Given to servers that enabled discovery guidelines
ENABLED_DISCOVERABLE_BEFORE Given to servers that enabled discovery at any point