feat(controller): add /getip command to retrieve server IP information
This commit is contained in:
@@ -64,6 +64,8 @@ func (m *Manager) RouteCommand(cmd Command) (string, error) {
|
||||
return handleRun(cmd)
|
||||
case "info":
|
||||
return handleInfo(cmd)
|
||||
case "getip":
|
||||
return handleGetIP(cmd)
|
||||
default:
|
||||
return "", nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user