From 3c3d4e5eff5b04f4f31ea9c5cbc6ba9f4839120f Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Mon, 10 Oct 2022 09:58:14 -0600 Subject: [PATCH] fix status messages --- src/modules/status.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/modules/status.js b/src/modules/status.js index f8cf6b9..e1946de 100644 --- a/src/modules/status.js +++ b/src/modules/status.js @@ -11,10 +11,12 @@ function setStatus() { .replace("%users%", hf.bot.users.size) .replace("%commands%", hf.commands.size); - hf.bot.editStatus("online", { - type: status.type, - name: `${text} | ${hf.config.prefix}help`, - }); + hf.bot.editStatus("online", [ + { + type: status.type, + name: `${text} | ${hf.config.prefix}help`, + }, + ]); } hf.bot.once("ready", setStatus);