You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
568 B
29 lines
568 B
class EchoAI {
|
|
name: string;
|
|
description: string;
|
|
|
|
constructor(name: string, description: string, _config: unknown) {
|
|
this.name = name;
|
|
this.description = description;
|
|
}
|
|
|
|
reset() {
|
|
//NOP
|
|
}
|
|
|
|
changeShit(opts: {
|
|
name?: string;
|
|
description?: string;
|
|
}) {
|
|
this.name = opts.name ?? this.name;
|
|
this.description = opts.description ?? this.description;
|
|
this.reset();
|
|
}
|
|
|
|
complete(_username: string, message: string) {
|
|
return message;
|
|
}
|
|
}
|
|
|
|
export default EchoAI;
|