Implement c.send

This commit is contained in:
7cc5c4f330d47060 2024-07-16 16:41:49 -04:00
parent 596ab8641d
commit cb65edf815

View file

@ -2,7 +2,7 @@
const parse = require("../util/chatparse.js")
class Command{
constructor (uuid,user,nick,cmd,prefix,bot,verify){
this.send = ()=>{};
this.send = (uuid,text)=>{bot.tellraw(uuid,text)};
this.reply = text => bot.tellraw(uuid,text);
this.uuid = uuid;
this.username = user;