Add "followers" and "following" commands

This commit is contained in:
Craig Andrews
2009-11-16 00:19:47 -05:00
parent 6470ccd1b8
commit f04dbc8fa2
2 changed files with 52 additions and 0 deletions

View File

@@ -47,6 +47,18 @@ class CommandInterpreter
} else {
return new LoginCommand($user);
}
case 'followers':
if ($arg) {
return null;
} else {
return new FollowersCommand($user);
}
case 'following':
if ($arg) {
return null;
} else {
return new FollowingCommand($user);
}
case 'on':
if ($arg) {
list($other, $extra) = $this->split_arg($arg);