fix(command): 🐛 make follow
command work again without params
This commit is contained in:
parent
3d5ffe38cd
commit
e74d796124
|
@ -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]) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user