更新时间:1970-01-01 07:58:48
而不是 bot
像以前一样一直使用 client
。
Instead of bot
use client
like you did all the times before.
有些人在做 const client = new Discord.Client();
,但也有人将其命名为 bot
或什至真的很奇怪
There are people who do const client = new Discord.Client();
but there are also people who name it bot
or even something really weired.
如果您想学习如何制作自己的机器人,可以使用由 discord的成员和创建者创建的开源指南。 .js
其中可以找到: https://discordjs.guide/
If you want to learn how to make your own bot, you can use the open-source guide created by the members and creators of discord.js
wich can be found here: https://discordjs.guide/