Rename StreamerModeOnStream

This commit is contained in:
thororen 2024-04-24 13:06:50 -04:00
parent 97e59d3869
commit e1cae5e48e

View file

@ -16,6 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
import { migratePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants"; import { Devs } from "@utils/constants";
import definePlugin from "@utils/types"; import definePlugin from "@utils/types";
import { FluxDispatcher, UserStore } from "@webpack/common"; import { FluxDispatcher, UserStore } from "@webpack/common";
@ -34,8 +35,9 @@ function toggleStreamerMode({ streamKey }: StreamEvent, value: boolean) {
}); });
} }
migratePluginSettings("StreamerModeOn", "StreamerModeOnStream");
export default definePlugin({ export default definePlugin({
name: "StreamerModeOnStream", name: "StreamerModeOn",
description: "Automatically enables streamer mode when you start streaming in Discord", description: "Automatically enables streamer mode when you start streaming in Discord",
authors: [Devs.Kodarru], authors: [Devs.Kodarru],
flux: { flux: {