mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 14:13:01 -04:00
Rename MoreUserTags to ExpandedUserTags
Hopefully stops crashing people
This commit is contained in:
parent
ea9fa09564
commit
13827acb89
2 changed files with 5 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
import "./styles.css";
|
import "./styles.css";
|
||||||
|
|
||||||
|
import { migratePluginSettings } from "@api/Settings";
|
||||||
import { classNameFactory } from "@api/Styles";
|
import { classNameFactory } from "@api/Styles";
|
||||||
import { Devs, EquicordDevs } from "@utils/constants";
|
import { Devs, EquicordDevs } from "@utils/constants";
|
||||||
import { getCurrentChannel, getIntlMessage } from "@utils/discord";
|
import { getCurrentChannel, getIntlMessage } from "@utils/discord";
|
||||||
|
@ -31,11 +32,13 @@ const genTagTypes = () => {
|
||||||
return obj;
|
return obj;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
migratePluginSettings("ExpandedUserTags", "MoreUserTags");
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "MoreUserTags",
|
name: "ExpandedUserTags",
|
||||||
description: "Adds tags for webhooks and moderative roles (owner, admin, etc.)",
|
description: "Adds tags for webhooks and moderative roles (owner, admin, etc.)",
|
||||||
authors: [Devs.Cyn, Devs.TheSun, Devs.RyanCaoDev, Devs.LordElias, Devs.AutumnVN, EquicordDevs.Hen],
|
authors: [Devs.Cyn, Devs.TheSun, Devs.RyanCaoDev, Devs.LordElias, Devs.AutumnVN, EquicordDevs.Hen],
|
||||||
dependencies: ["MemberListDecoratorsAPI", "NicknameIconsAPI", "MessageDecorationsAPI"],
|
dependencies: ["MemberListDecoratorsAPI", "NicknameIconsAPI", "MessageDecorationsAPI"],
|
||||||
|
tags: ["MoreUserTags"],
|
||||||
settings,
|
settings,
|
||||||
patches: [
|
patches: [
|
||||||
// Make discord actually use our tags
|
// Make discord actually use our tags
|
||||||
|
|
|
@ -14,7 +14,7 @@ import { TagSettings } from "./types";
|
||||||
|
|
||||||
function SettingsComponent() {
|
function SettingsComponent() {
|
||||||
const tagSettings = settings.store.tagSettings as TagSettings;
|
const tagSettings = settings.store.tagSettings as TagSettings;
|
||||||
const { localTags } = Vencord.Plugins.plugins.MoreUserTags as any;
|
const { localTags } = Vencord.Plugins.plugins.ExpandedUserTags as any;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex flexDirection="column">
|
<Flex flexDirection="column">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue