Giter VIP home page Giter VIP logo

neme-sys-io / discordguild-staffmode Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 8 KB

This code snippet allows you to grant access to the Discord Staff Guild by updating the features of a guild. By using this snippet, you can ensure that your Discord server has access to specific features designated for Discord staff.

License: MIT License

discord snippet experimental developer-mode discord-guild

discordguild-staffmode's Introduction

Discord Staff Guild Access Snippet

Overview

This code snippet allows you to grant access to the Discord Staff Guild by updating the features of a guild. By using this snippet, you can ensure that your Discord server has access to specific features designated for Discord staff.

Requirements

  • Access to a web browser console
  • Access to the Discord web application

Usage

  1. Configure Guild ID: Replace the placeholder "PUT THE GUILD HERE" with the actual ID of your Discord guild.

  2. Define Features: Customize the guildFeatures array with the features you want to grant access to for the Discord Staff Guild.

  3. Run the Snippet:

    • Open your web browser.
    • Log in to the Discord web application and navigate to any server.
    • Open the developer tools by pressing F12 or right-clicking on the page and selecting "Inspect".
    • Go to the "Console" tab.
    • Copy the code snippet and paste it into the console.
    • Press Enter to run the code.

Important Note

Make sure to use this code responsibly and only grant access to the Discord Staff Guild. Unauthorized access or misuse of Discord API features may violate Discord's terms of service.

Code

const GUILD_ID = "PUT THE GUILD ID HERE";

const guildFeatures = [
    "ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE",
    "WELCOME_SCREEN_ENABLED",
    "NEWS",
    "COMMUNITY",
    "MEMBER_VERIFICATION_GATE_ENABLED",
    "PRIVATE_THREADS",
    "PREVIEW_ENABLED",
    "SEVEN_DAY_THREAD_ARCHIVE",
    "THREADS_ENABLED",
    "THREADS_ENABLED_TESTING",
    "THREE_DAY_THREAD_ARCHIVE",
    "VANITY_URL",
    "PARTNERED",
    "MONETIZATION_ENABLED",
    "COMMERCE",
    "ANIMATED_BANNER",
    "BANNER",
    "ROLE_ICONS",
    "ANIMATED_ICON",
    "MEMBER_PROFILES",
    "VIP_REGIONS",
    "ENABLED_DISCOVERABLE_BEFORE",
    "MORE_EMOJI",
    "VERIFIED",
    "FEATURABLE",
    "HAS_DIRECTORY_ENTRY",
    "INVITE_SPLASH",
    "DISCOVERABLE",
    "NEW_THREAD_PERMISSIONS",
    "CHANNEL_BANNER",
    "TEXT_IN_VOICE_ENABLED",
    "ROLE_SUBSCRIPTIONS_ENABLED_FOR_PURCHASE",
    "ROLE_SUBSCRIPTIONS_ENABLED",
    "PREMIUM_TIER_3_OVERRIDE",
    "MORE_STICKERS",
    "RELAY_ENABLED",
    "INTERNAL_EMPLOYEE_ONLY",
    "FORCE_RELAY",
    "TICKETING_ENABLED",
    "EXPOSED_TO_ACTIVITIES_WTP_EXPERIMENT",
    "LINKED_TO_HUB",
    "AUTO_MODERATION",
    "BOOSTING_TIERS_EXPERIMENT_SMALL_GUILD",
    "BOOSTING_TIERS_EXPERIMENT_MEDIUM_GUILD",
    "HAD_EARLY_ACTIVITIES_ACCESS",
    "TICKETED_EVENTS_ENABLED",
    "BOT_DEVELOPER_EARLY_ACCESS",
    "GUILD_HOME_TEST"
];

// Find and update guild features
(webpackChunkdiscord_app.push([[''],{},e => {
    m = [];
    for (let c in e.c) m.push(e.c[c]);
}]), m)
    .find(m => m?.exports?.default?.getGuildCount)
    .exports.default
    .getGuild(GUILD_ID)
    .features = new Set(guildFeatures);

License

This code is provided under the MIT License.

discordguild-staffmode's People

Contributors

neme-sys-io avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.