diff --git a/src/api/Notices.ts b/src/api/Notices.ts index b98063914..9b53d8567 100644 --- a/src/api/Notices.ts +++ b/src/api/Notices.ts @@ -18,20 +18,20 @@ import { find } from "@webpack"; -const NoticesModule = find(m => m.show && m.dismiss && !m.suppressAll); +const Notices = find(m => m.show && m.dismiss && !m.suppressAll); export const noticesQueue = [] as any[]; export let currentNotice: any = null; export function popNotice() { - NoticesModule.dismiss(); + Notices.dismiss(); } export function nextNotice() { currentNotice = noticesQueue.shift(); if (currentNotice) { - NoticesModule.show(...currentNotice, "VencordNotice"); + Notices.show(...currentNotice, "VencordNotice"); } }