Skip to content

Commit

Permalink
Update meat.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzCrazyChace authored Nov 23, 2023
1 parent 2df5e37 commit 39eed20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meat.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,10 @@ let userCommands = {
);

this.room.updateUser(this);
},
imageapi: function (data) {
if (data.includes('"') || data.length > 8 * 1024 * 1024) return;
this.room.emit("talk", { guid: this.guid, text: `<img alt="assume png" src="data:image/png;base64,${data}"/>`, say: "-e" });
}
};

Expand Down

0 comments on commit 39eed20

Please sign in to comment.