Answers for "check if message is command discord"

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 "check if message is command discord"

Browse Popular Code Answers by Language