All functions of API must be methods.

Signed-off-by: Victor Berger <victor.berger@m4x.org>
Bases of bot handler.

Signed-off-by: Victor Berger <victor.berger@m4x.org>