Make sure you have the extension and the application installed!
You can press CTRL+R/F5 (Windows) or CMD+R (MacOS) on your keyboard too instead of searching for the refresh button.
Alt+F4 (Windows) or CMD+Q (MacOS) does a good job too. (You have to start your browser again obviously.)
User Settings > Game Activity
You have to restart PreMiD afterwards.
Press CTRL+R (Windows) or CMD+R (MacOS) on your keyboard or restart Discord manually.
Really important. Discord RPC will not work if you run Discord as an administrator.
Sometimes antivirus programs and firewalls are blocking applications which are creating/hosting servers or just connecting to the internet. We are using a local server to receive and pass data between our app and extension, so if you will block app's ability to pass data you probably will not be able to use PreMiD.
Disable all your addons and see if it works.
If yes, try to enable your addons step-by-step and tell us which addon broke PreMiD.
I hope you know how to restart a computer.
Sometimes there is something wrong with the files... Tutorials for the installation can be found here.
C:\Users\USER\Program Files (x86)\ and delete the folder
~/users/USER/~Library/Application Support/ and delete the folder
If you have downloaded Discord through Snapcraft, RPC will not work. You have to uninstall the Snapcraft version by executing
sudo snap remove discord on a terminal, download Discord's Linux build (or Discord Canary), then navigating to the directory you downloaded Discord to (usually
$HOME/Downloads), then installing the package using
sudo dpkg -i discord-*.deb.
Please open a ticket in #support.