added p/eulogy and the capability for command arguments

This commit is contained in:
ayeuhugyu 2023-09-21 18:16:05 -07:00
parent ea46fb8467
commit ae2eb50b9c
3 changed files with 27 additions and 12 deletions

View file

@ -4,7 +4,12 @@ module.exports = {
name: "test",
description: "test command",
execute(message, args) {
log("failed.log", message, __filename, "test command");
message.reply("log test completed, don't contact me again");
let text =
"command arguments test \nthis list should include all arguments you included in the command \n";
for (let i = 0; i < args.length; i++) {
text += args[i] + "\n";
}
message.reply(text);
},
};