RJ-Infinity / ThisCord

A Discord "Mod" / injector
3 stars 0 forks source link

require dosent work from the backend modules #39

Closed RJ-Infinity closed 1 year ago

RJ-Infinity commented 1 year ago

this is beacuse the way it was setup i thought that require would take the cwd into account howeever it ignores the cwd so then when the modules are loaded they are in the install location of thiscord this is where node looks to find the the modules required. i think i can fix by monkey patching require.