discord.js command prompt notification
bot.on('ready', () => {
console.log('Logged in as TEMPLATE');
});
//link to the dev portal to make your own discord bot here: https://discord.com/developers/applications
discord.js command prompt notification
bot.on('ready', () => {
console.log('Logged in as TEMPLATE');
});
//link to the dev portal to make your own discord bot here: https://discord.com/developers/applications
How to create a command that receives attributes in Discord in js
// using the new `command` variable, this makes it easier to manage!
// you can switch your other commands to this format as well
else if (command === 'args-info') {
if (!args.length) {
return message.channel.send(`You didn't provide any arguments, ${message.author}!`);
}
message.channel.send(`Command name: ${command}\nArguments: ${args}`);
}
How to create a command that receives attributes in Discord in js
// client.on('message', message => {
if (!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).trim().split(' ');
const command = args.shift().toLowerCase();
// the rest of your code
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us