This commit is contained in:
ChomeNS 2022-09-04 18:49:04 +07:00
parent 1679f252e3
commit aa6857dd76

View file

@ -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;