From 8713a30b35d245925056fa495180c32cc81d3f85 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sat, 25 Mar 2023 13:33:38 +0700 Subject: [PATCH] lazy fix --- commands/netmsg.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/commands/netmsg.js b/commands/netmsg.js index 37e5476..db579fc 100644 --- a/commands/netmsg.js +++ b/commands/netmsg.js @@ -5,6 +5,10 @@ module.exports = { usage: '', trusted: 0, execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) { + const message = args.join(' ') + + if (message.toLowerCase().includes('netmsg')) return // lazy fix + const component = [ { text: '[', @@ -33,7 +37,7 @@ module.exports = { color: 'dark_gray' }, { - text: args.join(' '), + text: message, color: 'gray' } ]