mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Removed console.log RPC
This commit is contained in:
@@ -9,7 +9,6 @@ let intervalId;
|
||||
|
||||
function startRPC() {
|
||||
rpc.on("ready", () => {
|
||||
console.log("Connecté à Discord !");
|
||||
|
||||
const presence = {
|
||||
largeImageKey: "icon",
|
||||
@@ -27,11 +26,6 @@ function startRPC() {
|
||||
}, 15000);
|
||||
});
|
||||
|
||||
rpc.login({ clientId }).catch(err => {
|
||||
console.error("Erreur Discord RPC :", err);
|
||||
});
|
||||
|
||||
|
||||
const cleanExit = () => {
|
||||
if (intervalId) clearInterval(intervalId);
|
||||
rpc.destroy(); // déconnecte proprement
|
||||
|
||||
Reference in New Issue
Block a user