我一直在尝试检测 Discord 客户端本身是否存在用户......我使用了这个:
var user_id;
//on message and after assigning user_id
if(client.users.cache.get(user_id) !== undefined) {
//checks if user does exist on the client and does action (it always thinks it's undefined for some reason)
}
你能帮助我吗?我感谢你所有的帮助...
哈士奇WWW
相关分类