Turn on/off an 'msg.reply' command DISCORD BOT (discord.js)

Hello. So I made an simple response bot with the code below.

client.on('message', msg => {
if (msg.content === '!info') {
msg.reply('Welcome To The JSON BOT');
}

});

but how do I make so users can turn of the usage of the command above by typing in !stop

I kinda have an idea what you mean but to be sure, can you elaborate a bit more?

When you use “!stop” that could add a variable to your SQL database and before the bot runs the command, it checks if the variable has a certain value.

Use message.channel.send to not mention the user.