feat(informer): various improvements and fixes

Feat:
- Letter aliases for subcommands.
- Most recent command when no input.
- Start player relative info stub.

Fix:
- Player username not shown.
This commit is contained in:
jay
2021-03-23 15:14:13 +05:00
parent 0757776d8b
commit 72c4622091
2 changed files with 26 additions and 7 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ function command(username, message) {
}
break
case "info":
cfg.plugins.informer.command(message_parts.splice(1))
cfg.plugins.informer.command(message_parts.splice(1), player)
break
// case "use":
// bot.useOn(bot.nearestEntity())