Add an extra included plugins tab in readme

This commit is contained in:
thororen 2024-05-22 23:52:50 -04:00
parent a23655f3a7
commit 18ecb9997d
5 changed files with 78 additions and 80 deletions

View file

@ -9,7 +9,7 @@ import definePlugin from "@utils/types";
export default definePlugin({
name: "VCSupport",
description: "Wumpus Dance + Support Warning",
description: "Wumpus Dance + Support Warnings",
authors: [EquicordDevs.thororen],
enabledByDefault: true
});

View file

@ -1,7 +0,0 @@
# OnePingPerDM
If unread messages are sent by a user in DMs multiple times, you'll only receive one audio ping. Read the messages to reset the limit
## Purpose
- Prevents ping audio spam in DMs
- Be able to distinguish more than one ping as multiple users
- Be less annoyed while gaming

View file

@ -1,66 +0,0 @@
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { findByPropsLazy } from "@webpack";
import { UserStore } from "@webpack/common";
interface StreamEvent {
streamKey: string;
}
interface StreamCreateEvent extends StreamEvent {
type: "STREAM_CREATE";
region: string;
viewerIds: string[];
rtcServerId: string;
paused: boolean;
}
interface StreamCloseEvent extends StreamEvent {
type: "STREAM_CLOSE";
streamKey: string;
canShowFeedback: boolean;
}
interface StreamerModeSettings {
enabled: boolean;
autoToggle: boolean;
hideInstantInvites: boolean;
hidePersonalInformation: boolean;
disableSounds: boolean;
disableNotifications: boolean;
enableContentProtection: boolean;
}
const StreamerModeActions: {
setEnabled(enabled: boolean): void;
update(settings: StreamerModeSettings): void;
} = findByPropsLazy("setEnabled", "update");
function isSelf(streamKey: string) {
return streamKey.split(":").at(-1) === UserStore.getCurrentUser().id;
}
export default definePlugin({
name: "SSSMode",
description: "Automatically enables streamer mode while screen sharing",
authors: [Devs.D3SOX],
flux: {
STREAM_CREATE({ streamKey }: StreamCreateEvent) {
if (isSelf(streamKey)) {
StreamerModeActions.setEnabled(true);
}
},
STREAM_CLOSE({ streamKey }: StreamCloseEvent) {
if (isSelf(streamKey)) {
StreamerModeActions.setEnabled(false);
}
},
}
});

View file

@ -5,6 +5,7 @@
*/
import { definePluginSettings } from "@api/Settings";
import { EquicordDevs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { SettingsRouter } from "@webpack/common";
@ -20,10 +21,7 @@ const settings = definePluginSettings({
export default definePlugin({
name: "ThemeLibrary",
description: "A library of themes for Vencord.",
authors: [{
name: "Fafa",
id: 428188716641812481n,
}],
authors: [EquicordDevs.Fafa],
settings,
toolboxActions: {
"Open Theme Library": () => {