Just use the following command:
sudo snap install discord
If Discord is spamming your syslog on Ubuntu or Debian and you installed it via snap, try this:
sudo snap connect discord:system-observe :system-observe
This is required when Discord should be able to see which programs are running to display them in your status. Source: github.com/snapcrafters/discord