Hi. Im just hey, i wanna make a command to do a custom prefix for each server. So I went on to code. After a few tests it was done. The problem is…
yea… Explain? I cant even write into a json file. Im using fs btw.Try adding __dirname
like this, to make /app/prefixes.json
…
__dirname + '/prefixes.json'
Depending on which folder the module is running in, __dirname could be different, so its worth logging it to the console to check.
1 Like