parent
1a9dbc3023
commit
9a89ef3290
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ function initRPC(clientID: string): void {
|
||||||
}
|
}
|
||||||
if (!config.get('silent')) {
|
if (!config.get('silent')) {
|
||||||
if (error.message.includes('ENOENT')) window.showErrorMessage('No Discord Client detected!');
|
if (error.message.includes('ENOENT')) window.showErrorMessage('No Discord Client detected!');
|
||||||
else window.showErrorMessage(`Couldn't connect to discord via rpc: ${error.message}`);
|
else window.showErrorMessage(`Couldn't connect to Discord via RPC: ${error.message}`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue