To install Discord on an Ubuntu Linux system, you can install it as a Snap package through Ubuntu's App Center.
At the install screen, I saw the message below:
Snaps are confined, as such Discord may be unable to perform some of the tasks it typically does when unconfined. This may result in the system log getting spammed with apparmor errors. Granting access to the system-observe interface when in the snap will enable the features, and thus reduce the logging.
snap connect discord:system-observe
AppArmor is a Linux kernel security module that provides system administrators the capability to restrict the access programs have to the system on which they run.
[ More Info ]

