feat: adding color changing rule
This commit is contained in:
parent
680eeea7a1
commit
c55fe93901
2 changed files with 16 additions and 2 deletions
|
@ -1 +1,14 @@
|
|||
export async function colorAlterChange(userId: string, args: string[]){}
|
||||
import { AlterRepo } from "../repositories/AlterRepo"
|
||||
|
||||
export async function colorAlterChange(userId: string, args: string[]){
|
||||
const alterRepo = new AlterRepo();
|
||||
|
||||
if (args.length == 2){
|
||||
const alterName = args[0];
|
||||
const alterColor = args[1];
|
||||
|
||||
|
||||
|
||||
return "The Alter's colour has been changed"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,5 +5,6 @@ export function returnHelpText() {
|
|||
"The currently available commands are : \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" +
|
||||
"- avatar <'Alter's name'> <'picture url'> | Allows you to edit your alter's profile picture"
|
||||
"- avatar <'Alter's name'> <'picture url'> | Allows you to edit your alter's profile picture" +
|
||||
"- color <'Alter's name'> <color hex> | Allows you to change the color of your alter ( may be integrated with the website )"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue