Add more to settiongs

This commit is contained in:
7cc5c4f330d47060 2024-10-27 01:23:28 -04:00
parent 5a9a01e137
commit 800045e9f6
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -5,10 +5,15 @@ export default class Command {
this.reply = text => bot.tellraw(uuid, text)
this.username = user;
this.nickname = nick;
this.command = cmd;
this.type = senderType;
this.msgType = msgType;
this.msgSubtype = msgSubtype;
this.args = cmd.split(' ').slice(1)
this.cmdName = cmd.split(' ')[0]
this.prefix = prefix
this.colors = settings.colors
this.lang = settings.defaultLang
this.verify = verify
this.host = bot.host.host
this.port = bot.host.port