mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Fix: Remove Discord RPC Update. It's useless and take performance for nothing.
This commit is contained in:
@@ -20,10 +20,6 @@ function startRPC() {
|
|||||||
rpc.clearActivity()
|
rpc.clearActivity()
|
||||||
rpc.setActivity(presence);
|
rpc.setActivity(presence);
|
||||||
|
|
||||||
// Met à jour la présence toutes les 15s
|
|
||||||
intervalId = setInterval(() => {
|
|
||||||
rpc.setActivity(presence);
|
|
||||||
}, 15000);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
rpc.login({ clientId }).catch(err => {
|
rpc.login({ clientId }).catch(err => {
|
||||||
|
|||||||
Reference in New Issue
Block a user