From 224d54cff3346318eb634c4f782be0683684742d Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Mon, 7 Nov 2022 18:43:17 +0700 Subject: [PATCH] beautify test after months fianally!!!!! --- commands/test.js | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/commands/test.js b/commands/test.js index 08a4bfb..631ebd2 100644 --- a/commands/test.js +++ b/commands/test.js @@ -7,7 +7,28 @@ module.exports = { usage: '', trusted: 0, execute: function(bot, username, usernameraw, sender, prefix, args) { - bot.tellraw('@a', ['', {'text': `Username: ${username},`, 'color': 'green'}, {'text': ` Raw username: ${usernameraw},`, 'color': 'green'}, {'text': ` Sender UUID: ${sender},`, 'color': 'green'}, {'text': ` Prefix: ${prefix},`, 'color': 'green'}, {'text': ` Args: ${args.join(', ').toString()}`, 'color': 'green'}]); + bot.tellraw('@a', [ + { + text: `Username: ${username},`, + color: 'green', + }, + { + text: ` Raw username: ${usernameraw},`, + color: 'green', + }, + { + text: ` Sender UUID: ${sender},`, + color: 'green', + }, + { + text: ` Prefix: ${prefix},`, + color: 'green', + }, + { + text: ` Args: ${args.join(', ').toString()}`, + color: 'green', + }, + ]); }, discordExecute: function(bot, username, usernameraw, sender, prefix, args, channeldc) { const Embed = new MessageEmbed()