Answers for "how to get the amount of commands was used with your bot discord.js"

1

define args discord

if (!message.content.startsWith(prefix) || message.author.bot) return;

const args = message.content.slice(prefix.length).trim().split(' ');
const command = args.shift().toLowerCase();
Posted by: Guest on December-20-2020

Code answers related to "how to get the amount of commands was used with your bot discord.js"

Browse Popular Code Answers by Language