Greet with o/
This commit is contained in:
parent
a8571e3597
commit
057106c665
|
@ -25,8 +25,11 @@ let remove_spaces str =
|
||||||
let evaluate str =
|
let evaluate str =
|
||||||
match str with
|
match str with
|
||||||
| str when is_url str ->
|
| str when is_url str ->
|
||||||
|
begin
|
||||||
let title = SimpleHttp.get_http_title (SimpleHttp.get_body str) |> remove_spaces in
|
let title = SimpleHttp.get_http_title (SimpleHttp.get_body str) |> remove_spaces in
|
||||||
match title with
|
match title with
|
||||||
| Some t -> Some ("[ " ^ t ^ " ]")
|
| Some t -> Some ("[ " ^ t ^ " ]")
|
||||||
| None -> None
|
| None -> None
|
||||||
|
end
|
||||||
|
| "o/" -> Some "o/"
|
||||||
| _ -> None
|
| _ -> None
|
||||||
|
|
Loading…
Reference in a new issue