A few things:
I didn’t want to run electron as root, so to install it I chown -R’d /usr/share/discord as my username and the group the same
cd /usr/share
sudo chown -R pizzadude:pizzadude discord/ (in my case)
Not the best solution, cuz now every app can write to the discord folder, but it works.
Also, to fix the javascript error I had to:
cd ~/.BetterDiscord
ln -s bdstorage.json bdStorage.json
If you’re a newbie and you’re reading this BE CAREFUL with chown.