diff --git a/src/commands/avatarAlterChange.ts b/src/commands/avatarAlterChange.ts index ff262ff..873a35f 100644 --- a/src/commands/avatarAlterChange.ts +++ b/src/commands/avatarAlterChange.ts @@ -18,7 +18,7 @@ export async function avatarAlterChange(userId: string, args: string[]){ } }) } - return "The profile picture has been changed" + return "The profile picture for the Member has been changed" } if (args.length != 2) { diff --git a/src/commands/colorAlterChange.ts b/src/commands/colorAlterChange.ts index 15bee40..8b678af 100644 --- a/src/commands/colorAlterChange.ts +++ b/src/commands/colorAlterChange.ts @@ -11,7 +11,7 @@ export async function colorAlterChange(userId: string, args: string[]){ let alters: AlterModel[]; await alterRepo.getAltersByUserId(userId).then( result => alters = result ) // fetching alters from user. - if (alters.length == 0) return "This user has no Alters." // checking if returned array is at least not 0, if len 0, then return. + if (alters.length == 0) return "This user has no Members." // checking if returned array is at least not 0, if len 0, then return. let alterToEdit: AlterModel; alters.forEach( alter => { @@ -23,7 +23,7 @@ export async function colorAlterChange(userId: string, args: string[]){ alterToEdit.color = alterColor; alterRepo.editAlter(alterToEdit) - return "The Alter's colour has been changed." + return "The Member's colour has been changed." } return "Error: Insufficent Arguments" diff --git a/src/commands/createAlter.ts b/src/commands/createAlter.ts index 66baf22..ada39cb 100644 --- a/src/commands/createAlter.ts +++ b/src/commands/createAlter.ts @@ -31,7 +31,7 @@ export async function createAlter(userId: string, args: string[]){ && !alterNames.includes(args[0])) { alterRepo.addAlterForUser(model); - return {message: "Alter < " + model.name + " > has been succefully created", code: 0} + return {message: "Member < " + model.name + " > has been succefully created", code: 0} } else { @@ -45,10 +45,10 @@ export async function createAlter(userId: string, args: string[]){ return {message: "Error: This command requires a tag that contains in it", code: 3}; } if (alterTags.includes(args[1])) { - return {message: "Error: You already have an Alter with that tag", code: 4} + return {message: "Error: You already have a Member with that tag", code: 4} } if (alterNames.includes(args[0])) { - return {message: "Error: You can only have one Alter with that name", code: 5} + return {message: "Error: You can only have one Member with that name", code: 5} } } } diff --git a/src/commands/deleteAlter.ts b/src/commands/deleteAlter.ts index 989e881..d2e99ba 100644 --- a/src/commands/deleteAlter.ts +++ b/src/commands/deleteAlter.ts @@ -16,9 +16,9 @@ export async function deleteAlter(userId: string, args: string[]) { }) } if (success) { - return "Alter has been deleted" + return "Member has been deleted" } else { - return "Failed to delete Alter" + return "Failed to delete Member" } } diff --git a/src/commands/help.ts b/src/commands/help.ts index 5c90822..529cc0e 100644 --- a/src/commands/help.ts +++ b/src/commands/help.ts @@ -1,15 +1,15 @@ export function returnHelpText() { return "# Howdy user, welcome to pluralcake\n" + - "pluralcake is a bot that allows you to send messages as your Alters, with a custom profile picture, tag and nickname. \n" + + "pluralcake is a bot that allows you to send messages as your system's Members, with a custom profile picture, tag and nickname. \n" + "It's pretty much a work in progress, and doesn't allow you to edit or delete messages, and to send pictures." + "The currently available commands are : \n" + "### Alters:\n" + - "- list | allows you to see your currently available alters.\n" + - "- create <'name of the alter'> <'your alter s tag'>| Allows you to create your Alters\n" + - "- delete <'name of the alter'> | Deletes the choosen Alter\n" + - "- name <'name of the alter'> | Changes the choosen Alter's name\n" + - "- avatar <'Alter's name'> <'picture url'> | Allows you to edit your alter's profile picture\n" + - "- color <'Alter's name'> <'color hex'> | Allows you to change the color of your alter ( may be integrated with the future website )\n"+ + "- list | allows you to see your currently available Members.\n" + + "- create <'name of the Member'> <'your Member's tag'>| Allows you to add a Member\n" + + "- delete <'name of the Member'> | Deletes the choosen Member\n" + + "- name <'name of the Member'> | Changes the choosen Member's name\n" + + "- avatar <'Member's name'> <'picture url'> | Allows you to edit your Member's profile picture\n" + + "- color <'Member's name'> <'color hex'> | Allows you to change the color of your Member ( may be integrated with the future website )\n"+ "### Migrations\n"+ - "- tupper < Json file attached > | Migrates your alters from tupper to pluralcake" + "- tupper < Json file attached > | Migrates your Member from tupper" } diff --git a/src/commands/listAlters.ts b/src/commands/listAlters.ts index 3ad9918..908e840 100644 --- a/src/commands/listAlters.ts +++ b/src/commands/listAlters.ts @@ -11,6 +11,6 @@ export async function listAlters(userId: string) { return tableConstructor(alters) } else { - return "No Alters found for this user" + return "No Members found for this user" } } diff --git a/src/commands/migrateAlters.ts b/src/commands/migrateAlters.ts index c8bee2f..93a0036 100644 --- a/src/commands/migrateAlters.ts +++ b/src/commands/migrateAlters.ts @@ -32,7 +32,7 @@ export default async function migrateAlters(author: string, attachments: File[] console.log(tupperStruct) }); - return "Migration finished, check your tuppers to confirm" + return "Migration finished, check your Members to confirm" } else { return "This is not a valid json file"