Hubot::Adapter::Irc 는 AnyEvent::IRC::Client 를 사용중인데 away_status_change event 를 등록할 수 있네요.
away_status_change => $bool
Emitted whenever a presence/away status change for you was detected.
$bool is true if you are now away, or false/undef if you are not
away anymore.
You can change your away status by emitting the "AWAY" IRC command:
$cl->send_srv (AWAY => "I'm not here right now");
Or reset it:
$cl->send_srv ('AWAY');
Hubot::Adapter::Irc
는AnyEvent::IRC::Client
를 사용중인데away_status_change
event 를 등록할 수 있네요.