From a2ad69634bac91e8a05d7788918606a54bdc8c2b Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Tue, 25 Oct 2022 14:58:55 +0700 Subject: [PATCH] remove check cuz can't use bot when rainbowname on --- plugins/commands.js | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/commands.js b/plugins/commands.js index b892443..563038b 100644 --- a/plugins/commands.js +++ b/plugins/commands.js @@ -56,7 +56,6 @@ function inject(bot, dcclient) { try { const usernameraw = usernamee.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, ''); const sender = bot.options.host === 'sus.shhnowisnottheti.me' && senderr !== '00000000-0000-0000-0000-000000000000' ? senderr : bot.playersAddedPlayers[usernameraw]; - if (!sender) return; const username = bot.getplayerusername[sender]; const message = messagee.replace(/* /§r/g */ /§[a-f0-9rlonmk]/g, '')/* .replace(/§/g, '')*/; bot.command_handler.run(username, usernameraw, message, sender);