mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
i think better remove it
This commit is contained in:
parent
0d7cec66ed
commit
a86400ae67
1 changed files with 1 additions and 5 deletions
|
@ -52,11 +52,7 @@ function inject(bot, dcclient) {
|
|||
var sender = bot.playersAddedPlayers[usernameraw];
|
||||
var username = bot.getplayerusername[sender];
|
||||
var message = message.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, '');
|
||||
for (const property of bot.tabcompleteplayers) {
|
||||
if (property.match===username) {
|
||||
bot.command_handler.run(username, usernameraw, message, sender);
|
||||
}
|
||||
}
|
||||
bot.command_handler.run(username, usernameraw, message, sender);
|
||||
} catch (e) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue