Discord, how can I make it stop flooding my logs?
The issue seems to be with Discord Snap only, since I use Discord's deb and can't reproduce the error logs. However, the problem and workaround are already mentioned in the Discord snap webpage. Quoting from there:
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
Adding to that, Discord snap is maintained by Snapcrafters, not by Discord itself. If you want to use official Discord, you can download deb archive from Discord's download page and install it using DPKG or APT.