fix(command): 🐛 make follow
command work again without params
This commit is contained in:
@@ -193,7 +193,15 @@ function command(username, message) {
|
||||
break;
|
||||
|
||||
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;
|
||||
case "come":
|
||||
switch (message_parts[1]) {
|
||||
|
Reference in New Issue
Block a user