2017-08-27 126 views
1

我一直在使用Discord.JS编写我的Discord bot大约2个月了,而且我最近才注意到,我的bot并不是说它正在播放我所讲的它。当我第一次编写机器人直到最近它工作得很好。现在我有3个不和谐的机器人没有展示他们的游戏。Discord.js setGame()不再工作

这是我使用的代码:

const Discord = require("discord.js"); 
const bot = new Discord.Client(); 
bot.on("ready",() => { 
    console.log("Ready"); 
    bot.user.setGame("Type !help"); 
} 

回答