beautify test

after months fianally!!!!!
This commit is contained in:
ChomeNS 2022-11-07 18:43:17 +07:00
parent 6895a37104
commit 224d54cff3

View file

@ -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()