feat(discord): remove hacky solution for calling callbacks

This commit is contained in:
JellyBrick
2023-10-08 15:01:26 +09:00
parent 187fad6834
commit e4dfb2ff33

View File

@ -39,12 +39,9 @@ const resetInfo = () => {
console.log('discord disconnected');
}
setTimeout(() => {
for (const cb of refreshCallbacks) {
cb();
}
}, 100);
for (const cb of refreshCallbacks) {
cb();
}
};
const connectTimeout = () => new Promise((resolve, reject) => setTimeout(() => {