mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 17:45:34 -05:00
'§a§lConsole§r'
This commit is contained in:
parent
25f140cf71
commit
b1ef5ae40c
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -494,7 +494,7 @@ dcclient.on('ready', async () => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// if (line.startsWith("."))return console.log('command not found')
|
// if (line.startsWith("."))return console.log('command not found')
|
||||||
if (line.startsWith('.')) return bot.command_handler.run('Console', '§e§lConsole§r', '*' + line.substring(1), 'c0ns0le-uuid');
|
if (line.startsWith('.')) return bot.command_handler.run('Console', '§a§lConsole§r', '*' + line.substring(1), 'c0ns0le-uuid');
|
||||||
bot.core.run('minecraft:tellraw @a ' + JSON.stringify(['', {'text': '[', 'color': 'dark_gray'}, {'text': `${bot.username} Console`, 'color': 'gray'}, {'text': '] ', 'color': 'dark_gray'}, {'text': 'chayapak ', 'color': 'green'}, {'text': '› ', 'color': 'dark_gray'}, MessageBuilder.fromString('&7' + line)]));
|
bot.core.run('minecraft:tellraw @a ' + JSON.stringify(['', {'text': '[', 'color': 'dark_gray'}, {'text': `${bot.username} Console`, 'color': 'gray'}, {'text': '] ', 'color': 'dark_gray'}, {'text': 'chayapak ', 'color': 'green'}, {'text': '› ', 'color': 'dark_gray'}, MessageBuilder.fromString('&7' + line)]));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
|
|
Loading…
Reference in a new issue