fix command handler proxy (raw username ploblem)

This commit is contained in:
ChomeNS 2022-12-15 19:55:58 +07:00
parent ec2fde1a0b
commit 33cca1e276

View file

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