fix status messages
This commit is contained in:
parent
f1b8282ba2
commit
3c3d4e5eff
1 changed files with 6 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue