This is not for a browser.
I intend to make a "blacklist" array for my bot, which will prevent users from running commands. However, I can only seem to do this on the actual bot file as I haven't found a way to do an external method.
What I'd want to do is have my main bot file as normal, but have a blacklist.txt with an array including their username, discord account ID and extra notes which can be accessed at any time by admins using a command.
This is what I'm using:
var blacklist=[
{username:'',userid:'',notes:''},
]