Variable for toggle function and enabling/disabling
问题 As in my previous question I was making a troll function now I'm trying to figure out how to make it toggle to make it work so my friend doesn't have to ban it every now and then. The toggle command works but its not actually internally working. NOTE: I have two discord accounts so I could test it on the other one. The part where it uses the toggle is in the bottom const Discord = require("discord.js"); const client = new Discord.Client; var enabled = true client.on("message", message => { if