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
Source: github.com/snapcrafters/discord