mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-30 10:56:55 -05:00
fix command handler proxy (raw username ploblem)
This commit is contained in:
parent
ec2fde1a0b
commit
33cca1e276
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ function inject (bot, client, target, config, clientPacketBlacklist) {
|
||||||
// not the best place to put command handler thing here but ok
|
// not the best place to put command handler thing here but ok
|
||||||
if (data.message?.startsWith('.')) {
|
if (data.message?.startsWith('.')) {
|
||||||
return bot.command_handler.run(
|
return bot.command_handler.run(
|
||||||
client.username,
|
|
||||||
client.username,
|
client.username,
|
||||||
'*' + data.message.substring(1),
|
'*' + data.message.substring(1),
|
||||||
client.uuid,
|
client.uuid,
|
||||||
|
|
Loading…
Reference in a new issue