replugged

    Function bySource

    • Get a module whose source code matches the given string or RegExp

      Parameters

      • match: string | RegExp

        String or RegExp to match in the module's source code

      Returns (m: RawModule) => boolean

      This function matches on the minified code, so make sure to keep that in mind when writing your strings/regex. Randomized variable names (usually 1-2 letters) are not stable between Discord updates. Make sure to use wildcards to make sure your RegExp matches if the variable name were to change.

    MMNEPVFCICPMFPCPTTAAATR