From 0b20d3e9a7f6235d6ee71e994ebdcfdf9cbeb40e Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Tue, 30 May 2023 21:18:00 -0600 Subject: [PATCH] add disableRPC rc option --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3c4503c..0cfe744 100644 --- a/src/index.js +++ b/src/index.js @@ -109,7 +109,7 @@ client.once("ready", function () { } } - if (client.user.bot) { + if (client.user.bot && !config.disableRPC) { rpc .login({ clientId: CLIENT_ID,