WhoReacted: Make more reliable & don't spam api

This commit is contained in:
Vendicated
2022-11-25 18:07:29 +01:00
parent bb398970ef
commit b60f6cb18d
6 changed files with 104 additions and 13 deletions

View File

@ -25,7 +25,7 @@ import { find } from "../webpack/webpack";
const queue = new Queue();
const setCss = debounce((css: string) => {
queue.add(() => VencordNative.ipc.invoke(IpcEvents.SET_QUICK_CSS, css));
queue.push(() => VencordNative.ipc.invoke(IpcEvents.SET_QUICK_CSS, css));
});
export async function launchMonacoEditor() {