add disableRPC rc option

This commit is contained in:
Cynthia Foxwell 2023-05-30 21:18:00 -06:00
parent 4880662c44
commit 0b20d3e9a7

View file

@ -109,7 +109,7 @@ client.once("ready", function () {
}
}
if (client.user.bot) {
if (client.user.bot && !config.disableRPC) {
rpc
.login({
clientId: CLIENT_ID,