1

我目前正在使用 discordjs v12 来制作我的机器人,并且在设置自定义丰富的状态以显示它正在观看的成员数量时,不会出现统计数据和写作本身,但是状态“空闲”会出现。

client.on("ready", () => {
    

    client.user.setPresence({
        status: "idle",
        game: {
            name: `!help for commands | Watching shukakucult server with ${client.users.cache.size} members.`,
            type: "PLAYING"
        }
    }); 
});
4

1 回答 1

0

找到了修复,游戏不是有效的财产。应该是活动

于 2020-11-13T08:21:06.650 回答