Merge remote-tracking branch 'upstream/dev'

This commit is contained in:
thororen1234 2024-06-27 23:04:05 -04:00
commit d5b8fb1fec
2 changed files with 42 additions and 69 deletions

View file

@ -20,6 +20,12 @@ import { definePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
// FIXME Do this without monkey patching maybe
Object.defineProperty(window, "DiscordSentry", {
configurable: true,
set(v) { }
});
const settings = definePluginSettings({
disableAnalytics: {
type: OptionType.BOOLEAN,