diff --git a/index.js b/index.js index 205e9e9..f1ac70d 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ const mc = require('minecraft-protocol'); const crypto = require('crypto'); const colorConvert = require('color-convert'); const chatMessage = require('prismarine-chat')('1.18.2'); +const generateEaglerUsername = require('./util/generateEaglerUsername') const {EventEmitter} = require('events'); const fs = require('fs'); const path = require('path'); @@ -245,6 +246,7 @@ function main() { if (typeof message!=='string') throw new SyntaxError('message must be a string'); bot.bruhifyText = message.substring(0, 1000); }, + generateEaglerUsername: generateEaglerUsername, }, // require: { // mock: {