this worked for my install as nixfifty discord integration broke with the upgrade from xenforo 1.4 to 2.0.
To add a bit of detail for those looking at doing this but not so high on the tech side of things:
Command line on your install, change USER to your mysql user for your database, possibly...