[英]In my userinfo command how should i do that I don’t have to use the ID of the person and ping them. It will show the info of the person using the cmd
我想这样做,所以当我在不 ping 或使用人的 ID 的情况下执行命令时,它将显示使用该命令的人的用户信息。
您必须检查message.mentions.members.first()
是否为 null。 如果是这样,那么使用消息的作者 - message.author
。
但是,如果不向我们展示您迄今为止所做的工作,就很难提供帮助和建议。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.