mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
fixed
This commit is contained in:
parent
1679f252e3
commit
aa6857dd76
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue