sussy function!1!

This commit is contained in:
ChomeNS 2022-11-24 17:21:20 +07:00
parent d2607ad7a4
commit c3a724dbe7

4
bot.js
View file

@ -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');