Discord.JS 令牌禁止功能在尝试 运行 终端中的命令时无法正常工作

Discord.JS token ban function not working properly when trying to run the command in terminal

好的,所以我试图创建一个不和谐的机器人,使用禁止命令,但后来发生了这种情况

https://i.stack.imgur.com/ogAHf.png

这是我的代码

https://i.stack.imgur.com/5ceGo.png

我该如何解决这个问题?

应该是:

module.exports = {
    name: 'ban',
    description: "This command bans people",
    execute(message, args) {

        if(message.member.roles.cache.has('923203237019004958')) {
            const member = message.mentions.members.first();
            if(member) {
                const memberTarger = message.guild.members.cache.get(member.id);
                memberTarger.ban();
                message.channel.send("User has been banned from the paper bag");
            }
            else {
                message.channel.send("You don't have the sufficent permissions to run this command")
            }
        }

    }
}

execute(message, args) 旁边有一个右括号 } 但它应该是一个左括号 {