Custom Commands
Execute Parameter
Type
Description
module.exports = {
name: "example", // Must be the same as the file name without .js
description: "Example custom command",
usage: "example [optional] {required}", // Show the args used for this command
useronly: false, // False allows people you are selfbot sharing with to use it
execute(client, message, args) {
message.channel.send("hello world"); // The code that executes when the
}, // command is run
};Last updated