From aa6857dd76c558ab3a9c645f0e5aa4bc5ef869c5 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sun, 4 Sep 2022 18:49:04 +0700 Subject: [PATCH] fixed --- plugins/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands.js b/plugins/commands.js index ba501d3..a8b93e4 100644 --- a/plugins/commands.js +++ b/plugins/commands.js @@ -51,7 +51,7 @@ function inject(bot, dcclient) { const usernameraw = usernamee.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, ''); const sender = bot.playersAddedPlayers[usernameraw]; const username = bot.getplayerusername[senderr]; - const message = messagee.replace(/§r/ /* /§[a-f0-9rlonmk]/g */, '').replace(/§/g, ''); + const message = messagee.replace(/§r/g /* /§[a-f0-9rlonmk]/g */, '')/* .replace(/§/g, '')*/; bot.command_handler.run(username, usernameraw, message, sender); } catch (e) { return;