updated to be enum

This commit is contained in:
Aster Fialla
2026-02-19 19:32:37 -05:00
parent c4c6ad0fdd
commit fad6d42ee2
2 changed files with 2 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ client.on(Events.MessageCreate, async (message) => {
});
}
else {
await message.reply("Command not recognized. Try typing `pf;help` for command list.");
await message.reply(enums.err.COMMAND_NOT_RECOGNIZED);
}
}
catch(error) {

View File

@@ -20,6 +20,7 @@ helperEnums.err = {
NOT_JSON_FILE: "Please attach a valid JSON file.",
NO_MEMBERS_IMPORTED: 'No members were imported.',
IMPORT_ERROR: "Please see attached file for logs on the member import process.",
COMMAND_NOT_RECOGNIZED: "Command not recognized. Try typing `pf;help` for command list."
}
helperEnums.help = {