mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-03 23:25:20 +02:00
dont use package keyword...
This commit is contained in:
parent
9cd39dc5df
commit
2b09a578a8
1 changed files with 2 additions and 2 deletions
|
@ -152,11 +152,11 @@ export class Agent {
|
|||
if (save_data?.last_sender) {
|
||||
this.last_sender = save_data.last_sender;
|
||||
if (convoManager.isOtherAgent(this.last_sender)) {
|
||||
const package = {
|
||||
const msg_package = {
|
||||
message: `You have restarted and this message is auto-generated. Continue the conversation with me.`,
|
||||
start: true
|
||||
};
|
||||
convoManager.recieveFromBot(this.last_sender, package);
|
||||
convoManager.recieveFromBot(this.last_sender, msg_package);
|
||||
}
|
||||
}
|
||||
else if (init_message) {
|
||||
|
|
Loading…
Add table
Reference in a new issue