mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 18:54:55 -05:00
add generate eagler username to vm context
This commit is contained in:
parent
1aefc00be5
commit
72e2d277c1
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -8,6 +8,7 @@ const mc = require('minecraft-protocol');
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
const colorConvert = require('color-convert');
|
const colorConvert = require('color-convert');
|
||||||
const chatMessage = require('prismarine-chat')('1.18.2');
|
const chatMessage = require('prismarine-chat')('1.18.2');
|
||||||
|
const generateEaglerUsername = require('./util/generateEaglerUsername')
|
||||||
const {EventEmitter} = require('events');
|
const {EventEmitter} = require('events');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
@ -245,6 +246,7 @@ function main() {
|
||||||
if (typeof message!=='string') throw new SyntaxError('message must be a string');
|
if (typeof message!=='string') throw new SyntaxError('message must be a string');
|
||||||
bot.bruhifyText = message.substring(0, 1000);
|
bot.bruhifyText = message.substring(0, 1000);
|
||||||
},
|
},
|
||||||
|
generateEaglerUsername: generateEaglerUsername,
|
||||||
},
|
},
|
||||||
// require: {
|
// require: {
|
||||||
// mock: {
|
// mock: {
|
||||||
|
|
Loading…
Reference in a new issue