📜  discord bot状态javascript代码示例

📅  最后修改于: 2022-03-11 15:02:05.959000             🧑  作者: Mango

代码示例1
//in your main bot file
client.on('ready', () => {
    client.user.setActivity({
        name: "A Game",
        type: "PLAYING"
        
    });
});