mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
sussy function!1!
This commit is contained in:
parent
d2607ad7a4
commit
c3a724dbe7
1 changed files with 2 additions and 2 deletions
4
bot.js
4
bot.js
|
@ -81,7 +81,7 @@ async function createBot(server, config, getBots, dcclient, rl) {
|
||||||
bot.vmoptions = {
|
bot.vmoptions = {
|
||||||
timeout: 2000,
|
timeout: 2000,
|
||||||
sandbox: {
|
sandbox: {
|
||||||
run: function(cmd) {
|
run(cmd) {
|
||||||
bot.core.run(cmd);
|
bot.core.run(cmd);
|
||||||
},
|
},
|
||||||
mc,
|
mc,
|
||||||
|
@ -93,7 +93,7 @@ async function createBot(server, config, getBots, dcclient, rl) {
|
||||||
chatMessage,
|
chatMessage,
|
||||||
crypto,
|
crypto,
|
||||||
colorConvert,
|
colorConvert,
|
||||||
bruhifyText: function(message) {
|
bruhifyText(message) {
|
||||||
if (
|
if (
|
||||||
typeof message !== 'string'
|
typeof message !== 'string'
|
||||||
) throw new SyntaxError('message must be a string');
|
) throw new SyntaxError('message must be a string');
|
||||||
|
|
Loading…
Reference in a new issue