add disableRPC rc option
This commit is contained in:
parent
4880662c44
commit
0b20d3e9a7
|
@ -109,7 +109,7 @@ client.once("ready", function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client.user.bot) {
|
if (client.user.bot && !config.disableRPC) {
|
||||||
rpc
|
rpc
|
||||||
.login({
|
.login({
|
||||||
clientId: CLIENT_ID,
|
clientId: CLIENT_ID,
|
||||||
|
|
Loading…
Reference in New Issue