标签: javascript node.js discord bots
我一直在尝试制作Discord机器人,并且尝试在命令提示符下运行node .,但是它不会联机。
node .
命令提示符:
const Discord = require('discord.js'); const client = new Discord.Client(); Client.once('ready', () =>{ console.log('axtrobot is Online!'); }); Client.Login ('token');