Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save WisdomSky/7dd3f4efabfa23c2e792b3bdcfec4b23 to your computer and use it in GitHub Desktop.
Save WisdomSky/7dd3f4efabfa23c2e792b3bdcfec4b23 to your computer and use it in GitHub Desktop.
Make Discord Server With a Tag

Discord Server Tag Automation Script (GUILD_TAGS)

Since around May 6th, 2025, newly created Discord servers have a small, random chance (approximately 1 in 1000) of including the experimental tag feature; this script automates the repetitive process of creating and deleting servers to help find one.

Note

Successfully obtaining a server with this flag is only the first step; actually using the tag functionality requires boosting the server 3 times

Caution

🚨 EXTREME RISK & DIRECT TOS VIOLATION – READ IMMEDIATELY 🚨


CRITICAL WARNING: YOUR ACCOUNT IS AT SUBSTANTIAL RISK!

Using ANY automated scripts, including the one detailed here, and employing client modifications like Vencord, is a FUNDAMENTAL AND EXPLICIT VIOLATION of Discord's Terms of Service (ToS). By proceeding, you are knowingly engaging in activities that Discord strictly prohibits and actively monitors for.

THE CONSEQUENCES ARE SEVERE AND CAN BE IMMEDIATE:

  • HIGH LIKELIHOOD OF ACCOUNT FLAGS: Your account activity will likely be detected by Discord's anti-abuse systems.
  • TEMPORARY SUSPENSIONS: You may lose access to your account for a period.
  • PERMANENT ACCOUNT TERMINATION (BANNING): This is a very real possibility, resulting in the IRREVERSIBLE LOSS of your account, all associated servers you own, your messages, and your communities.
  • ACTION WITHOUT WARNING: Discord is under no obligation to warn you before taking disciplinary action.

PROCEED WITH EXTREME CAUTION AND FULL ACKNOWLEDGEMENT OF THESE IMMINENT RISKS.

PROCEED WITH EXTREME CAUTION AND FULL ACKNOWLEDGEMENT OF THESE IMMINENT RISKS.

PROCEED WITH EXTREME CAUTION AND FULL ACKNOWLEDGEMENT OF THESE IMMINENT RISKS.


Before running the script, ensure you have completed the following steps:

  1. Disable 2FA: The script needs 2FA disabled to automatically delete temporary servers without requiring confirmation prompts. Re-enable 2FA after you finish using the script.
  2. Install Vencord: This script relies on functions exposed by the Vencord client modification. Download and install it from the official source.
  3. Enable Vencord Plugin: Open Discord Settings, go to the Vencord "Plugins" tab, find and enable the ConsoleShortcuts plugin. This plugin exposes useful library functions (like findByProps) to the developer console, which are necessary for this script to work.
  4. Restart Discord Client: Close and reopen Discord completely to ensure Vencord and the plugin are loaded correctly.
  5. Create One Server Manually (Required): Before running the script make sure to create a single server through the normal Discord interface first. It's a required step.

Instructions

  1. Open Developer Console: Use the standard browser/Electron method to open the developer console (usually Ctrl+Shift+I on Windows/Linux or Cmd+Option+I on Mac, or sometimes F12).
  2. Allow Pasting (If Prompted): The console might require you to explicitly type allow pasting before accepting pasted code.
  3. Paste and Run Code: Copy the entire JavaScript code block below, paste it into the console, and press Enter:
const INTERVAL = 5 * 1000; // Lower intervals increase creation speed but also ban risk significantly.
const DELETE_DELAY = 2 * 1000; // 2 seconds delay before deleting
const SERVER_NAME = "Tag server"; // Name of the server to create

/// DO NOT EDIT BELOW THIS LINE ///
function murmurhash3_32_gc(e, _) {
  let $ = (_ = _ || 0),
    c,
    l = new TextEncoder(),
    t = l.encode(e),
    u = t.length,
    i = Math.floor(u / 4),
    m = new DataView(t.buffer, t.byteOffset);
  for (let b = 0; b < i; b++) {
    let n = 4 * b;
    ($ ^= c =
      Math.imul(
        (c =
          ((c = Math.imul((c = m.getUint32(n, !0)), 3432918353)) << 15) |
          (c >>> 17)),
        461845907
      )),
      ($ = Math.imul(($ = ($ << 13) | ($ >>> 19)), 5) + 3864292196),
      ($ >>>= 0);
  }
  c = 0;
  let f = 4 * i;
  switch (3 & u) {
    case 3:
      c ^= t[f + 2] << 16;
    case 2:
      c ^= t[f + 1] << 8;
    case 1:
      (c ^= t[f + 0]),
        ($ ^= c =
          Math.imul(
            (c = ((c = Math.imul(c, 3432918353)) << 15) | (c >>> 17)),
            461845907
          ));
  }
  return (
    ($ ^= u),
    ($ ^= $ >>> 16),
    ($ = Math.imul($, 2246822507)),
    ($ ^= $ >>> 13),
    ($ = Math.imul($, 3266489909)),
    ($ ^= $ >>> 16) >>> 0
  );
}

const deleteGuild = findByProps(
  "deleteGuild",
  "bulkAddMemberRoles"
).deleteGuild;
const createGuildFromTemplate = findByProps(
  "createGuildFromTemplate"
).createGuildFromTemplate;

let t = setInterval(async () => {
  console.log("Attempting to create a new guild...");
  const newGuild = await createGuildFromTemplate(
    SERVER_NAME,
    null,
    {
      id: "CREATE",
      label: "Create My Own",
      channels: [],
      system_channel_id: null,
    },
    false,
    false
  );

  if (!newGuild || !newGuild.id) {
    console.error("Failed to create guild.");
    return;
  }

  console.log(`Guild created: ${newGuild.name} (ID: ${newGuild.id})`);

  // https://nelly.tools/experiments/1984074768
  let hash = murmurhash3_32_gc(`2025-02_skill_trees:${newGuild.id}`) % 10000;
  if (hash >= 10 && hash < 20) {
    console.log(
      `πŸŽ‰ FOUND GUILD WITH TAG: ${newGuild.name} (ID: ${newGuild.id}) πŸŽ‰`
    );
    clearInterval(t);
    console.log("Stopping script as a guild with tags has been found.");
  } else {
    console.log(
      `Guild (ID: ${newGuild.id}) does not have the tag experiment. Scheduling deletion...`
    );
    setTimeout(async () => {
      console.log(`Deleting guild: ${newGuild.name} (ID: ${newGuild.id})`);
      await deleteGuild(newGuild.id);
      console.log(`Guild (ID: ${newGuild.id}) deleted.`);
    }, DELETE_DELAY);
  }
}, INTERVAL);

Remember to re-enable 2FA on your account once the script has found a server or you decide to stop it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment