replugged

    Function byPrototype

    • Creates a filter function that checks if a module's exports contain the specified prototype properties.

      Type Parameters

      • P extends PropertyKey = PropertyKey

        The type of the property keys to check.

      Parameters

      • ...props: P[]

        The list of property keys to check for in the module's exports.

      Returns (m: RawModule) => boolean

      A function for filtering modules based on the presence of the specified prototype properties.

      const ChannelMessages = getModule(filters.byPrototype("jumpToMessage"));
      
    MMNEPVFCICPMFPCPTTAAATR