Fix The Naming Scheme On Plugins

This commit is contained in:
thororen1234 2024-07-13 00:20:46 -04:00
parent ba7d7ae4e1
commit 61d3d1f4ad
4 changed files with 11 additions and 6 deletions

View file

@ -16,12 +16,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { migratePluginSettings } from "@api/Settings";
import { EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types";
import { PermissionStore } from "@webpack/common";
migratePluginSettings("GodMode", "God Mode");
export default definePlugin({
name: "God Mode",
name: "GodMode",
description: "Get all permissions (client-side).",
authors: [EquicordDevs.Tolgchu],

View file

@ -16,6 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { migratePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
@ -42,8 +43,9 @@ const keydown = (e: KeyboardEvent) => {
}
};
migratePluginSettings("KeyboardSounds", "Keyboard Sounds");
export default definePlugin({
name: "Keyboard Sounds",
name: "KeyboardSounds",
description: "Adds the Opera GX Keyboard Sounds to Discord",
authors: [Devs.HypedDomi],
start: () => {

View file

@ -5,7 +5,7 @@
*/
import { addChatBarButton, ChatBarButton, removeChatBarButton } from "@api/ChatButtons";
import { definePluginSettings } from "@api/Settings";
import { definePluginSettings, migratePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
import { openModal } from "@utils/modal";
import definePlugin, { OptionType } from "@utils/types";
@ -30,8 +30,9 @@ const SekaiStickerChatButton: ChatBarButton = () => {
};
let IS_FONTS_LOADED = false;
migratePluginSettings("SekaiStickers", "Sekai Stickers");
export default definePlugin({
name: "Sekai Stickers",
name: "SekaiStickers",
description: "Sekai Stickers built in discord originally from github.com/TheOriginalAyaka",
authors: [Devs.MaiKokain],
dependencies: ["ChatInputButtonAPI"],