fix(command): 🐛 make follow command work again without params

This commit is contained in:
jay 2021-01-16 13:50:35 +05:00
parent 3d5ffe38cd
commit e74d796124

View File

@ -193,7 +193,15 @@ function command(username, message) {
break; break;
case "follow": case "follow":
subcommand("go follow " + message_parts.slice(1).join(" ")) switch (message_parts.length) {
case 1:
subcommand("go follow me")
break;
default:
subcommand("go " + message)
break;
}
break; break;
case "come": case "come":
switch (message_parts[1]) { switch (message_parts[1]) {