【发布时间】:2021-08-05 16:44:22
【问题描述】:
我正在尝试制定一个命令,当用户说出列入黑名单的单词时将其禁止,并且我正在尝试弄清楚如何使他们进入被禁止的服务器。例如,
if (message.content == `nword`) {
message.author.send(`You were banned from (The server they were banned from) for saying the n-word`)
member.ban()
}```
【问题讨论】:
-
到底是什么问题?您能否编辑您的问题以包含一个明确的问题陈述,以及您在此处发布之前为满足此要求所做的尝试?
标签: javascript discord discord.js