fix status messages

This commit is contained in:
Cynthia Foxwell 2022-10-10 09:58:14 -06:00
parent f1b8282ba2
commit 3c3d4e5eff

View file

@ -11,10 +11,12 @@ function setStatus() {
.replace("%users%", hf.bot.users.size) .replace("%users%", hf.bot.users.size)
.replace("%commands%", hf.commands.size); .replace("%commands%", hf.commands.size);
hf.bot.editStatus("online", { hf.bot.editStatus("online", [
type: status.type, {
name: `${text} | ${hf.config.prefix}help`, type: status.type,
}); name: `${text} | ${hf.config.prefix}help`,
},
]);
} }
hf.bot.once("ready", setStatus); hf.bot.once("ready", setStatus);