Implement c.send
This commit is contained in:
parent
596ab8641d
commit
cb65edf815
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue