BetterFolders: Fix patch; MessageLogger: Ignore Venbot; ReviewDB: Clean migration code

This commit is contained in:
Nuckyz 2024-04-30 17:34:45 -03:00
parent 840c775ed8
commit 97886e5728
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 4 additions and 10 deletions

View file

@ -23,7 +23,6 @@ import ErrorBoundary from "@components/ErrorBoundary";
import ExpandableHeader from "@components/ExpandableHeader";
import { OpenExternalIcon } from "@components/Icons";
import { Devs } from "@utils/constants";
import { Logger } from "@utils/Logger";
import definePlugin from "@utils/types";
import { Alerts, Menu, Parser, useState } from "@webpack/common";
import { Guild, User } from "discord-types/general";
@ -75,13 +74,6 @@ export default definePlugin({
const s = settings.store;
const { lastReviewId, notifyReviews } = s;
const legacy = s as any as { token?: string; };
if (legacy.token) {
await updateAuth({ token: legacy.token });
legacy.token = undefined;
new Logger("ReviewDB").info("Migrated legacy settings");
}
await initAuth();
setTimeout(async () => {