public function __construct($token, $bot_id) { parent::__construct($token, $bot_id); parent::registerHandler(EventBot::MEMBER_ADDED, array($this, "checkForAutoKick")); parent::registerHandler(EventBot::MEMBER_JOINED, array($this, "checkForAutoKick")); parent::registerHandler(EventBot::MEMBER_REJOINED, array($this, "checkForAutoKick")); }
public function __construct($token, $bot_id) { parent::__construct($token, $bot_id); parent::registerHandler(EventBot::MEMBER_ADDED, array($this, "onMemberAdded")); }